| Package | Description |
|---|---|
| org.apache.ignite.ml.knn.classification |
Contains main APIs for kNN classification algorithms.
|
| Modifier and Type | Field and Description |
|---|---|
protected KNNStrategy |
KNNClassificationModel.stgy
kNN strategy.
|
| Modifier and Type | Method and Description |
|---|---|
KNNStrategy |
KNNModelFormat.getStgy()
Gets kNN strategy.
|
static KNNStrategy |
KNNStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KNNStrategy[] |
KNNStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
KNNClassificationModel<K,V> |
KNNClassificationModel.withStrategy(KNNStrategy stgy)
Set up parameter of the kNN model.
|
| Constructor and Description |
|---|
KNNModelFormat(int k,
DistanceMeasure measure,
KNNStrategy stgy)
Creates an instance.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018