public class KNN$ extends Object
Modifier and Type | Field and Description |
---|---|
static KNN$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
KNN$() |
Modifier and Type | Method and Description |
---|---|
KNN |
apply() |
<T extends Vector> |
fitKNN(TypeInformation<T> evidence$1)
FitOperation which trains a KNN based on the given training data set. |
<T extends Vector> |
predictValues(scala.reflect.ClassTag<T> evidence$2,
TypeInformation<T> evidence$3)
PredictDataSetOperation which calculates k-nearest neighbors of the given testing data
set. |
public static final KNN$ MODULE$
public KNN apply()
public <T extends Vector> Object fitKNN(TypeInformation<T> evidence$1)
FitOperation
which trains a KNN based on the given training data set.
public <T extends Vector> Object predictValues(scala.reflect.ClassTag<T> evidence$2, TypeInformation<T> evidence$3)
PredictDataSetOperation
which calculates k-nearest neighbors of the given testing data
set.
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.