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, setLabelspublic BinaryLinearModel getModel()
PredictionFunctiongetModel in interface PredictionFunctiongetModel in class BinaryClassifierpublic void setModel(Model model)
PredictionFunctionmodel - the model to setpublic BinaryMarginClassifierOutput predict(Example example)
predict in interface Classifierpredict in interface PredictionFunctionpredict in class BinaryClassifierpublic void reset()
PredictionFunctionCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.