createWeights {fuseMLR} | R Documentation |
Create weights for COBRA Predictions
Description
The createWeights
function is used to calculate weights for predictions.
Usage
createWeights(train, test, n_train, n_test, nlearners, eps, alpha)
Arguments
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). |