Package | Description |
---|---|
org.apache.flink.ml.nn |
Modifier and Type | Method and Description |
---|---|
static KNN |
KNN.apply() |
KNN |
KNN$.apply() |
KNN |
KNN.setBlocks(int n)
Sets the number of data blocks/partitions
|
KNN |
KNN.setDistanceMetric(DistanceMetric metric)
Sets the distance metric
|
KNN |
KNN.setK(int k)
Sets K
|
KNN |
KNN.setSizeHint(CrossOperatorBase.CrossHint sizeHint)
Parameter a user can specify if one of the training or test sets are small
|
KNN |
KNN.setUseQuadTree(boolean useQuadTree)
Sets the Boolean variable that decides whether to use the QuadTree or not
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.