Package | Description |
---|---|
org.apache.ignite.ml.clustering.kmeans |
Contains kMeans clustering algorithm.
|
org.apache.ignite.ml.knn |
Contains main APIs for kNN algorithms.
|
org.apache.ignite.ml.knn.ann |
Contains main APIs for ANN classification algorithms.
|
org.apache.ignite.ml.knn.classification |
Contains main APIs for kNN classification algorithms.
|
org.apache.ignite.ml.math.distances |
Contains main APIs for distances.
|
Modifier and Type | Method and Description |
---|---|
DistanceMeasure |
KMeansModel.distanceMeasure()
Distance measure.
|
DistanceMeasure |
KMeansTrainer.getDistance()
Gets the distance.
|
DistanceMeasure |
KMeansModelFormat.getDistance() |
Modifier and Type | Method and Description |
---|---|
KMeansTrainer |
KMeansTrainer.withDistance(DistanceMeasure distance)
Set up the distance.
|
Constructor and Description |
---|
KMeansModel(Vector[] centers,
DistanceMeasure distanceMeasure)
Construct KMeans model with given centers and distanceMeasure measure.
|
KMeansModelFormat(Vector[] centers,
DistanceMeasure distance) |
Modifier and Type | Field and Description |
---|---|
protected DistanceMeasure |
NNClassificationModel.distanceMeasure
Distance measure.
|
Modifier and Type | Method and Description |
---|---|
DistanceMeasure |
NNClassificationModel.getDistanceMeasure() |
Modifier and Type | Method and Description |
---|---|
NNClassificationModel |
NNClassificationModel.withDistanceMeasure(DistanceMeasure distanceMeasure)
Set up parameter of the NN model.
|
Modifier and Type | Method and Description |
---|---|
DistanceMeasure |
ANNClassificationTrainer.getDistance()
Gets the distance.
|
Modifier and Type | Method and Description |
---|---|
ANNClassificationTrainer |
ANNClassificationTrainer.withDistance(DistanceMeasure distance)
Set up the distance.
|
Constructor and Description |
---|
ANNModelFormat(int k,
DistanceMeasure measure,
NNStrategy stgy,
LabeledVectorSet<ProbableLabel,LabeledVector> candidates,
ANNClassificationTrainer.CentroidStat candidatesStat)
Creates an instance.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceMeasure |
KNNModelFormat.distanceMeasure
Distance measure.
|
Modifier and Type | Method and Description |
---|---|
DistanceMeasure |
KNNModelFormat.getDistanceMeasure()
Gets distance measure.
|
Constructor and Description |
---|
KNNModelFormat(int k,
DistanceMeasure measure,
NNStrategy stgy)
Creates an instance.
|
Modifier and Type | Class and Description |
---|---|
class |
EuclideanDistance
Calculates the L2 (Euclidean) distance between two points.
|
class |
HammingDistance
Calculates the Hamming distance between two points.
|
class |
ManhattanDistance
Calculates the L1 (sum of abs) distance between two points.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019