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