Hinge loss on new objects of a trained LinearSVM
Hinge loss on new objects of a trained SVM
loss(object, ...)# S4 method for LeastSquaresClassifier
loss(object, newdata, y = NULL, ...)
# S4 method for NormalBasedClassifier
loss(object, newdata, y = NULL)
# S4 method for LogisticRegression
loss(object, newdata, y = NULL)
# S4 method for KernelLeastSquaresClassifier
loss(object, newdata, y = NULL, ...)
# S4 method for LinearSVM
loss(object, newdata, y = NULL)
# S4 method for LogisticLossClassifier
loss(object, newdata, y = NULL, ...)
# S4 method for MajorityClassClassifier
loss(object, newdata, y = NULL)
# S4 method for SVM
loss(object, newdata, y = NULL)
# S4 method for SelfLearning
loss(object, newdata, y = NULL, ...)
# S4 method for USMLeastSquaresClassifier
loss(object, newdata, y = NULL, ...)
# S4 method for svmlinClassifier
loss(object, newdata, y = NULL)
numeric; the total loss on the test data
Classifier; Trained Classifier
additional parameters
data.frame; object with test data
factor; True classes of the test data