Skip to contents

Returns the ^y score of the model

Usage

getModelScore(mod, X, clf, force.re.evaluation = TRUE)

Arguments

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)

Value

a vector containing the predicted ^y score for each observation