org.apache.ignite.ml.knn.utils

## Class KNNUtils

- java.lang.Object
- - org.apache.ignite.ml.knn.utils.KNNUtils

-     public class KNNUtils
      extends Object

  Helper class for KNNRegression.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KNNUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <K,V,C extends Serializable> @Nullable Dataset<EmptyContext,LabeledVectorSet<LabeledVector>>` | `buildDataset(LearningEnvironmentBuilder envBuilder, DatasetBuilder<K,V> datasetBuilder, Preprocessor<K,V> vectorizer)` Builds dataset.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KNNUtils

          public KNNUtils()

  - ### Method Detail

    - #### buildDataset

          @Nullable
          public static <K,V,C extends Serializable> @Nullable Dataset<EmptyContext,LabeledVectorSet<LabeledVector>> buildDataset(LearningEnvironmentBuilder envBuilder,
                                                                                                                                            DatasetBuilder<K,V> datasetBuilder,
                                                                                                                                            Preprocessor<K,V> vectorizer)

      Builds dataset.
      Parameters:
        `envBuilder` - Learning environment builder.
        `datasetBuilder` - Dataset builder.
        `vectorizer` - Upstream vectorizer.
      Returns:
        Dataset.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021