public class BinaryKernelMachineClassifier extends BinaryClassifier
positiveClass| Constructor and Description |
|---|
BinaryKernelMachineClassifier() |
BinaryKernelMachineClassifier(BinaryKernelMachineModel model,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
BinaryKernelMachineModel |
getModel()
Returns the model
|
BinaryMarginClassifierOutput |
predict(Example example)
Classifies an example applying the following formula:
y(x) = \sum_{i \in SV}\alpha_i k(x_i, x) + b
|
void |
reset()
Resets all the predictor parameters to the default state.
|
void |
setModel(Model model)
Sets the model
|
getLabel, getLabels, setLabel, setLabelspublic BinaryKernelMachineClassifier()
public BinaryKernelMachineClassifier(BinaryKernelMachineModel model, Label label)
public BinaryMarginClassifierOutput predict(Example example)
predict in interface Classifierpredict in interface PredictionFunctionpredict in class BinaryClassifierpublic BinaryKernelMachineModel getModel()
getModel in interface PredictionFunctiongetModel in class BinaryClassifierpublic void setModel(Model model)
PredictionFunctionmodel - the model to setpublic void reset()
PredictionFunctionCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.