## Uses of Interface
org.apache.ignite.ml.knn.utils.indices.SpatialIndex

- Packages that use SpatialIndex
  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 |

- - ### Uses of SpatialIndex in org.apache.ignite.ml.knn

    Classes in org.apache.ignite.ml.knn that implement SpatialIndex
    Modifier and Type | Class and Description
    --- | ---
    `class` | `KNNModel<L>` KNN model build on top of distributed spatial indices.

    Methods in org.apache.ignite.ml.knn that return SpatialIndex
    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`.

    Method parameters in org.apache.ignite.ml.knn with type arguments of type SpatialIndex
    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 parameters in org.apache.ignite.ml.knn with type arguments of type SpatialIndex
    Constructor and Description
    `KNNModel(Dataset<EmptyContext,SpatialIndex<L>> dataset, DistanceMeasure distanceMeasure, int k, boolean weighted)` Constructs a new instance of KNN model.

  - ### Uses of SpatialIndex in org.apache.ignite.ml.knn.classification

    Classes in org.apache.ignite.ml.knn.classification that implement SpatialIndex
    Modifier and Type | Class and Description
    --- | ---
    `class` | `KNNClassificationModel` KNN classification model.

    Method parameters in org.apache.ignite.ml.knn.classification with type arguments of type SpatialIndex
    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).

  - ### Uses of SpatialIndex in org.apache.ignite.ml.knn.regression

    Classes in org.apache.ignite.ml.knn.regression that implement SpatialIndex
    Modifier and Type | Class and Description
    --- | ---
    `class` | `KNNRegressionModel` KNN regression model.

    Method parameters in org.apache.ignite.ml.knn.regression with type arguments of type SpatialIndex
    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).

  - ### Uses of SpatialIndex in org.apache.ignite.ml.knn.utils.indices

    Classes in org.apache.ignite.ml.knn.utils.indices that implement SpatialIndex
    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`.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021