public interface BinaryScoreClassifier extends Classifier
-1
ad 1
. At
prediction, the output is a real valued number - where the sign indicates the
class label. This interface indicates that an algorithm conforms such
behavior, and that the "0" class corresponds to the -1
label, and the
"1" class corresponds to the 1
label. Modifier and Type | Method and Description |
---|---|
BinaryScoreClassifier |
clone() |
double |
getScore(DataPoint dp)
Returns the numeric score for predicting a class of a given data point,
where the sign of the value indicates which class the data point is
predicted to belong to.
|
classify, supportsWeightedData, trainC, trainC
double getScore(DataPoint dp)
dp
- the data point to predict the class label ofBinaryScoreClassifier clone()
clone
in interface Classifier
Copyright © 2017. All rights reserved.