Package | Description |
---|---|
org.apache.ignite.ml.regressions.logistic.binomial |
Contains binomial logistic regression.
|
org.apache.ignite.ml.regressions.logistic.multiclass |
Contains multi-class logistic regression.
|
Modifier and Type | Method and Description |
---|---|
<K,V> LogisticRegressionModel |
LogisticRegressionSGDTrainer.fit(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Trains model based on the specified data.
|
protected <K,V> LogisticRegressionModel |
LogisticRegressionSGDTrainer.updateModel(LogisticRegressionModel mdl,
DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Gets state of model in arguments, update in according to new data and return new model.
|
LogisticRegressionModel |
LogisticRegressionModel.withIntercept(double intercept)
Set up the intercept.
|
LogisticRegressionModel |
LogisticRegressionModel.withRawLabels(boolean isKeepingRawLabels)
Set up the output label format.
|
LogisticRegressionModel |
LogisticRegressionModel.withThreshold(double threshold)
Set up the threshold.
|
LogisticRegressionModel |
LogisticRegressionModel.withWeights(Vector weights)
Set up the weights.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
LogisticRegressionSGDTrainer.checkState(LogisticRegressionModel mdl) |
protected <K,V> LogisticRegressionModel |
LogisticRegressionSGDTrainer.updateModel(LogisticRegressionModel mdl,
DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Gets state of model in arguments, update in according to new data and return new model.
|
Modifier and Type | Method and Description |
---|---|
<P> void |
LogisticRegressionModel.saveModel(Exporter<LogisticRegressionModel,P> exporter,
P path)
Save model by the given path.
|
Modifier and Type | Method and Description |
---|---|
Optional<LogisticRegressionModel> |
LogRegressionMultiClassModel.getModel(Double clsLb) |
Modifier and Type | Method and Description |
---|---|
void |
LogRegressionMultiClassModel.add(double clsLb,
LogisticRegressionModel mdl)
Adds a specific Log Regression binary classifier to the bunch of same classifiers.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019