Package | Description |
---|---|
org.apache.ignite.ml.svm |
Contains main APIs for SVM(support vector machines) algorithms.
|
Modifier and Type | Method and Description |
---|---|
<K,V> SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationTrainer.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> SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationTrainer.updateModel(SVMLinearBinaryClassificationModel 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.
|
SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationModel.withIntercept(double intercept)
Set up the intercept.
|
SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationModel.withRawLabels(boolean isKeepingRawLabels)
Set up the output label format.
|
SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationModel.withThreshold(double threshold)
Set up the threshold.
|
SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationModel.withWeights(Vector weights)
Set up the weights.
|
Modifier and Type | Method and Description |
---|---|
Optional<SVMLinearBinaryClassificationModel> |
SVMLinearMultiClassClassificationModel.getModelForClass(double clsLb) |
Modifier and Type | Method and Description |
---|---|
void |
SVMLinearMultiClassClassificationModel.add(double clsLb,
SVMLinearBinaryClassificationModel mdl)
Adds a specific SVM binary classifier to the bunch of same classifiers.
|
protected boolean |
SVMLinearBinaryClassificationTrainer.checkState(SVMLinearBinaryClassificationModel mdl) |
protected <K,V> SVMLinearBinaryClassificationModel |
SVMLinearBinaryClassificationTrainer.updateModel(SVMLinearBinaryClassificationModel 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 |
SVMLinearBinaryClassificationModel.saveModel(Exporter<SVMLinearBinaryClassificationModel,P> exporter,
P path)
Save model by the given path.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019