View source: R/createWeights.R
createWeights | R Documentation |
The createWeights
function is used to calculate weights for predictions.
createWeights(train, test, n_train, n_test, nlearners, eps, alpha)
train |
A |
test |
A |
n_train |
An |
n_test |
An |
nlearners |
An |
eps |
A |
alpha |
A value that determines the optimal number of learners in the neighborhood (only for alpha optimization). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.