Package | Description |
---|---|
com.cloudera.oryx.app.kmeans |
Support code for the k-means application functionality common to several layers.
|
com.cloudera.oryx.app.serving.kmeans.model |
Data model support for the k-means clustering Serving Layer app.
|
com.cloudera.oryx.app.speed.kmeans |
Contains an app tier implementation of a Speed Layer, for ALS recommendation.
|
Modifier and Type | Method and Description |
---|---|
static Pair<ClusterInfo,Double> |
KMeansUtils.closestCluster(List<ClusterInfo> clusters,
DistanceFn<double[]> distanceFn,
double[] vector) |
static List<ClusterInfo> |
KMeansPMMLUtils.read(org.dmg.pmml.PMML pmml) |
Modifier and Type | Method and Description |
---|---|
static void |
KMeansUtils.checkUniqueIDs(Collection<ClusterInfo> clusters) |
static Pair<ClusterInfo,Double> |
KMeansUtils.closestCluster(List<ClusterInfo> clusters,
DistanceFn<double[]> distanceFn,
double[] vector) |
Modifier and Type | Method and Description |
---|---|
ClusterInfo |
KMeansServingModel.getCluster(int id) |
Modifier and Type | Method and Description |
---|---|
Pair<ClusterInfo,Double> |
KMeansServingModel.closestCluster(double[] vector) |
Modifier and Type | Method and Description |
---|---|
ClusterInfo |
KMeansSpeedModel.closestCluster(double[] vector) |
ClusterInfo |
KMeansSpeedModel.getCluster(int id) |
Modifier and Type | Method and Description |
---|---|
void |
KMeansSpeedModel.setCluster(int clusterID,
ClusterInfo clusterInfo) |
Constructor and Description |
---|
KMeansSpeedModel(List<ClusterInfo> clusters) |
Copyright © 2014–2018. All rights reserved.