Package | Description |
---|---|
com.cloudera.oryx.app.kmeans |
Support code for the k-means application functionality common to several layers.
|
Modifier and Type | Class and Description |
---|---|
class |
EuclideanDistanceFn
Returns the Euclidean distance between two
double[] . |
Modifier and Type | Method and Description |
---|---|
static Pair<ClusterInfo,Double> |
KMeansUtils.closestCluster(List<ClusterInfo> clusters,
DistanceFn<double[]> distanceFn,
double[] vector) |
Copyright © 2014–2018. All rights reserved.