Evaluates the fitting score of a model object.
Usage
evaluateIntercept(mod, X, y, clf)
Arguments
- mod
: a model object
- X:
the data matrix with variables in the rows and observations in the columns
- y:
the response vector
- clf:
the classifier parameter object
Value
a model object with the fitting score