public class BinaryLinearClassifier extends BinaryClassifier
positiveClass
Constructor and Description |
---|
BinaryLinearClassifier() |
Modifier and Type | Method and Description |
---|---|
BinaryLinearModel |
getModel()
Returns the model
|
BinaryMarginClassifierOutput |
predict(Example example) |
void |
reset()
Resets all the predictor parameters to the default state.
|
void |
setModel(Model model)
Sets the model
|
getLabel, getLabels, setLabel, setLabels
public BinaryLinearModel getModel()
PredictionFunction
getModel
in interface PredictionFunction
getModel
in class BinaryClassifier
public void setModel(Model model)
PredictionFunction
model
- the model to setpublic BinaryMarginClassifierOutput predict(Example example)
predict
in interface Classifier
predict
in interface PredictionFunction
predict
in class BinaryClassifier
public void reset()
PredictionFunction
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.