This function is a unified interface to return various types of loss for a
model fit with SLOPE().
Usage
score(object, x, y, measure)
# S3 method for class 'GaussianSLOPE'
score(object, x, y, measure = c("mse", "mae"))
# S3 method for class 'BinomialSLOPE'
score(object, x, y, measure = c("mse", "mae", "deviance", "misclass", "auc"))
# S3 method for class 'MultinomialSLOPE'
score(object, x, y, measure = c("mse", "mae", "deviance", "misclass"))
# S3 method for class 'PoissonSLOPE'
score(object, x, y, measure = c("mse", "mae"))See also
Other SLOPE-methods:
coef.SLOPE(),
deviance.SLOPE(),
plot.SLOPE(),
predict.SLOPE(),
print.SLOPE()
