View source: R/linear_regression_mcr.r
Get prediction from a (Nadaraya–Watson) kernel regression model
1 | kernel_regression_prediction(X, X_ref, y_ref, kern_fun)
|
X |
covariate matrix for which predictions are desired |
X_ref |
covariate matrix for existing data |
y_ref |
corresponding output vector for existing data |
kern_fun |
kernel function to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.