View source: R/gaussian_basis.R
Get a Gaussian-kernel based basis matrix for ClassExReg.
1 | get_gaussian_basis_mat(max.mu, kernel_sigma, Ktrain, Ktarg, n.sample = 10000)
|
max.mu |
maximum mean to use in the basis |
kernel_sigma |
the sd. dev parameter of the basis function. |
Ktrain |
the number of classes k for which we have computed average test accuracies ATA_k. |
Ktarg |
The number of classes k for which we want to extrpolate the accuracy AGA_k (can be a vector). |
n.sample |
number of sample points for computing Gaussian integrals |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.