getModelScore | R Documentation |
Returns the ^y score of the model
getModelScore(mod, X, clf, force.re.evaluation = TRUE)
mod: |
a model object where the score will be computed |
X: |
the data matrix with variables in the rows and observations in the columns |
force.re.evaluation: |
we recompute the score (default:TRUE) |
a vector containing the predicted ^y score for each observation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.