powered by
Compute prediction errors for classification and regression problems.
evalerr(family, y, yhat)
For classification, returns misclassification error. For regression, returns mean squared error.
a family used in bst. Classification or regression family.
bst
response variable. For classification problems, y must be 1/-1.
predicted values.
Zhu Wang