Package | Description |
---|---|
org.apache.ignite.ml.knn.classification |
Contains main APIs for kNN classification algorithms.
|
org.apache.ignite.ml.knn.regression |
Contains helper classes for kNN regression algorithms.
|
Modifier and Type | Method and Description |
---|---|
<K,V> KNNClassificationModel |
KNNClassificationTrainer.fit(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Trains model based on the specified data.
|
<K,V> KNNClassificationModel |
KNNClassificationTrainer.updateModel(KNNClassificationModel 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 |
---|---|
protected boolean |
KNNClassificationTrainer.checkState(KNNClassificationModel mdl) |
void |
KNNClassificationModel.copyStateFrom(KNNClassificationModel mdl)
Copy parameters from other model and save all datasets from it.
|
<K,V> KNNClassificationModel |
KNNClassificationTrainer.updateModel(KNNClassificationModel 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 | Class and Description |
---|---|
class |
KNNRegressionModel
This class provides kNN Multiple Linear Regression or Locally [weighted] regression (Simple and Weighted versions).
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019