Description Usage Arguments Value Examples
This function is a unified interface to return various types of loss for a
model fit with owl().
1 2 3 4 5 6 7 8 9 10 11 12 13  | score(object, x, y, measure)
## S3 method for class 'OwlGaussian'
score(object, x, y, measure = c("mse", "mae"))
## S3 method for class 'OwlBinomial'
score(object, x, y, measure = c("mse", "mae", "deviance", "misclass", "auc"))
## S3 method for class 'OwlMultinomial'
score(object, x, y, measure = c("mse", "mae", "deviance", "misclass"))
## S3 method for class 'OwlPoisson'
score(object, x, y, measure = c("mse", "mae"))
 | 
object | 
 an object of class   | 
x | 
 feature matrix  | 
y | 
 response  | 
measure | 
 type of target measure.   | 
The measure along the regularization path depending on the
value in measure.
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.