Package | Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected NNStrategy |
NNClassificationModel.stgy
kNN strategy.
|
Modifier and Type | Method and Description |
---|---|
protected double |
NNClassificationModel.getClassVoteForVector(NNStrategy stgy,
double distance) |
NNClassificationModel |
NNClassificationModel.withStrategy(NNStrategy stgy)
Set up parameter of the NN model.
|
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 NNStrategy |
KNNModelFormat.stgy
kNN strategy.
|
Modifier and Type | Method and Description |
---|---|
NNStrategy |
KNNModelFormat.getStgy()
Gets kNN strategy.
|
static NNStrategy |
NNStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NNStrategy[] |
NNStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
KNNModelFormat(int k,
DistanceMeasure measure,
NNStrategy stgy)
Creates an instance.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019