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, setLabels
public BinaryKernelMachineClassifier()
public BinaryKernelMachineClassifier(BinaryKernelMachineModel model, Label label)
public BinaryMarginClassifierOutput predict(Example example)
predict
in interface Classifier
predict
in interface PredictionFunction
predict
in class BinaryClassifier
public BinaryKernelMachineModel getModel()
getModel
in interface PredictionFunction
getModel
in class BinaryClassifier
public void setModel(Model model)
PredictionFunction
model
- the model to setpublic void reset()
PredictionFunction
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.