public class ANNModelFormat extends KNNModelFormat implements Serializable
ANNClassificationModel,
Serialized FormdistanceMeasure, k, stgy| Constructor and Description |
|---|
ANNModelFormat(int k,
DistanceMeasure measure,
NNStrategy stgy,
LabeledVectorSet<ProbableLabel,LabeledVector> candidates,
ANNClassificationTrainer.CentroidStat candidatesStat)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LabeledVectorSet<ProbableLabel,LabeledVector> |
getCandidates() |
int |
hashCode() |
getDistanceMeasure, getK, getStgypublic ANNModelFormat(int k,
DistanceMeasure measure,
NNStrategy stgy,
LabeledVectorSet<ProbableLabel,LabeledVector> candidates,
ANNClassificationTrainer.CentroidStat candidatesStat)
k - Amount of nearest neighbors.measure - Distance measure.stgy - kNN strategy.candidatesStat - The stat about candidates.public LabeledVectorSet<ProbableLabel,LabeledVector> getCandidates()
public int hashCode()
hashCode in class KNNModelFormatpublic boolean equals(Object obj)
equals in class KNNModelFormat
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019