public class SVMLinearMultiClassClassificationModel extends Object implements Model<Vector,Double>, Exportable<SVMLinearMultiClassClassificationModel>, Serializable
Constructor and Description |
---|
SVMLinearMultiClassClassificationModel() |
Modifier and Type | Method and Description |
---|---|
void |
add(double clsLb,
SVMLinearBinaryClassificationModel mdl)
Adds a specific SVM binary classifier to the bunch of same classifiers.
|
Double |
apply(Vector input) |
boolean |
equals(Object o) |
Optional<SVMLinearBinaryClassificationModel> |
getModelForClass(double clsLb) |
int |
hashCode() |
<P> void |
saveModel(Exporter<SVMLinearMultiClassClassificationModel,P> exporter,
P path)
Save model by the given path.
|
String |
toString() |
String |
toString(boolean pretty) |
public SVMLinearMultiClassClassificationModel()
public <P> void saveModel(Exporter<SVMLinearMultiClassClassificationModel,P> exporter, P path)
saveModel
in interface Exportable<SVMLinearMultiClassClassificationModel>
exporter
- Exporter.path
- Path to saved model.public String toString(boolean pretty)
public void add(double clsLb, SVMLinearBinaryClassificationModel mdl)
clsLb
- The class label for the added model.mdl
- The model.public Optional<SVMLinearBinaryClassificationModel> getModelForClass(double clsLb)
clsLb
- Class label.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019