Package | Description |
---|---|
org.apache.ignite.ml.knn |
Contains main APIs for kNN algorithms.
|
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.
|
org.apache.ignite.ml.knn.utils.indices |
Contains utils functionality for indices in kNN algorithms.
|
Modifier and Type | Class and Description |
---|---|
class |
KNNModel<L>
KNN model build on top of distribtued spatial indices.
|
Modifier and Type | Method and Description |
---|---|
SpatialIndex<Double> |
KNNPartitionDataBuilder.build(LearningEnvironment env,
Iterator<UpstreamEntry<K,V>> upstreamData,
long upstreamDataSize,
EmptyContext ctx)
Builds a new partition
data from a partition upstream data and partition context . |
Modifier and Type | Method and Description |
---|---|
protected abstract M |
KNNTrainer.convertDatasetIntoModel(Dataset<EmptyContext,SpatialIndex<Double>> dataset)
Convers given dataset into KNN model (classification or regression depends on implementation).
|
Constructor and Description |
---|
KNNModel(Dataset<EmptyContext,SpatialIndex<L>> dataset,
DistanceMeasure distanceMeasure,
int k,
boolean weighted)
Constructs a new instance of KNN model.
|
Modifier and Type | Class and Description |
---|---|
class |
KNNClassificationModel
KNN classification model.
|
Modifier and Type | Method and Description |
---|---|
protected KNNClassificationModel |
KNNClassificationTrainer.convertDatasetIntoModel(Dataset<EmptyContext,SpatialIndex<Double>> dataset)
Convers given dataset into KNN model (classification or regression depends on implementation).
|
Modifier and Type | Class and Description |
---|---|
class |
KNNRegressionModel
KNN regression model.
|
Modifier and Type | Method and Description |
---|---|
protected KNNRegressionModel |
KNNRegressionTrainer.convertDatasetIntoModel(Dataset<EmptyContext,SpatialIndex<Double>> dataset)
Convers given dataset into KNN model (classification or regression depends on implementation).
|
Modifier and Type | Class and Description |
---|---|
class |
ArraySpatialIndex<L>
Array based implementation of
SpatialIndex . |
class |
BallTreeSpatialIndex<L>
Ball tree based implementation of
SpatialIndex . |
class |
KDTreeSpatialIndex<L>
KD tree based implementation of
SpatialIndex . |
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024