Description Usage Arguments Value
A function for producing a krr (kernel ridge regression) model.
1 |
x |
Quantitative explanatory variables (vector, matrix, or data.frame). |
y |
Quantitative response variable. |
lambda |
Tuning parameter for regression. |
sigma |
Tuning parameter for Gaussian kernel. |
Returns the predictions, alphas, and MSE associated with the regression, as well as the inputs x, y, the kernel function, and lambda.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.