Description Usage Arguments Value Examples
Kernel ridge regression with Gaussian kernels with cross validation to search for hyper-parameters (implemented with th eKLRS package)
1 2 3 4 5 6 7 8 |
x |
the input features |
y |
the observed response (real valued) |
weights |
weights for input if doing weighted regression/classification. If set to NULL, no weights are used |
k_folds |
number of folds used in cross validation |
b_range |
the range of Gaussian kernel bandwidths for cross validation |
lambda_range |
the range of ridge regression penalty factor for cross validation |
a list that includes the best b, lambda, best predictions, best model fit
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.