| 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.utils |
Contains util functionality for kNN algorithms.
|
| org.apache.ignite.ml.structures |
Contains some internal utility structures.
|
| org.apache.ignite.ml.structures.partition |
Contains internal APIs for dataset partitioned labeled datasets.
|
| org.apache.ignite.ml.structures.preprocessing |
Contains internal APIs for dataset pre-processing.
|
| Modifier and Type | Method and Description |
|---|---|
protected LabeledVectorSet<LabeledVector> |
NNClassificationModel.buildLabeledDatasetOnListOfVectors(List<LabeledVector> neighborsFromPartitions)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull TreeMap<Double,Set<Integer>> |
NNClassificationModel.getDistances(Vector v,
LabeledVectorSet<LabeledVector<Double>> trainingData)
Deprecated.
Computes distances between given vector and each vector in training dataset.
|
protected @NotNull LabeledVector[] |
NNClassificationModel.getKClosestVectors(LabeledVectorSet<LabeledVector> trainingData,
TreeMap<Double,Set<Integer>> distanceIdxPairs)
Deprecated.
Iterates along entries in distance map and fill the resulting k-element array.
|
| Modifier and Type | Method and Description |
|---|---|
LabeledVectorSet<LabeledVector> |
ANNClassificationModel.getCandidates()
Deprecated.
|
LabeledVectorSet<LabeledVector> |
ANNModelFormat.getCandidates()
Deprecated.
|
| Constructor and Description |
|---|
ANNClassificationModel(LabeledVectorSet<LabeledVector> centers,
ANNClassificationTrainer.CentroidStat centroindsStat)
Deprecated.
Build the model based on a candidates set.
|
ANNModelFormat(int k,
DistanceMeasure distanceMeasure,
boolean weighted,
LabeledVectorSet<LabeledVector> candidates,
ANNClassificationTrainer.CentroidStat candidatesStat)
Deprecated.
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V,C extends Serializable> |
KNNUtils.buildDataset(LearningEnvironmentBuilder envBuilder,
DatasetBuilder<K,V> datasetBuilder,
Preprocessor<K,V> vectorizer)
Deprecated.
Builds dataset.
|
| Modifier and Type | Method and Description |
|---|---|
LabeledVectorSet |
LabeledVectorSet.copy()
Deprecated.
Makes copy with new Label objects and old features and Metadata objects.
|
LabeledVectorSet |
LabeledVectorSetTestTrainPair.test()
Deprecated.
Test subset of the whole dataset.
|
LabeledVectorSet |
LabeledVectorSetTestTrainPair.train()
Deprecated.
Train subset of the whole dataset.
|
| Constructor and Description |
|---|
LabeledVectorSetTestTrainPair(LabeledVectorSet dataset,
double testPercentage)
Deprecated.
Creates two subsets of given dataset.
|
| Modifier and Type | Method and Description |
|---|---|
LabeledVectorSet<LabeledVector> |
LabeledDatasetPartitionDataBuilderOnHeap.build(LearningEnvironment env,
Iterator<UpstreamEntry<K,V>> upstreamData,
long upstreamDataSize,
C ctx)
Deprecated.
Builds a new partition
data from a partition upstream data and partition context. |
| Modifier and Type | Method and Description |
|---|---|
static LabeledVectorSet |
LabeledDatasetLoader.loadFromTxtFile(Path pathToFile,
String separator,
boolean isDistributed,
boolean isFallOnBadData)
Deprecated.
Datafile should keep class labels in the first column.
|
GridGain In-Memory Computing Platform : ver. 8.9.38 Release Date : September 22 2026