predict.singleton {customizedTraining} | R Documentation |
Returns the value stored in the singleton. Intended for internal use only.
## S3 method for class 'singleton'
predict(object, type = c('response', 'class', 'nonzero'),
...)
object |
an object of class |
type |
Type of prediction to be returned, "response" or "class" |
... |
ignored |
The value of the singleton
Scott Powers, Trevor Hastie, Robert Tibshirani