fonisce le previsioni della cv, da utilizzare dentro sapply(1:k,...)
1 | tree_crossvalidation(i, formula = "as.factor(y)~.", x, folds, J)
|
i |
i-esimo fold |
formula |
formula del modello |
x |
matrice variabili esplicative |
folds |
prodotto da kfold function |
J |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.