Index
A C G K N V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- apply(double[]) - Method in class com.linkedin.dagli.clustering.NearestDoubleArray
C
- com.linkedin.dagli.clustering - package com.linkedin.dagli.clustering
G
- getPreparer(PreparerContext) - Method in class com.linkedin.dagli.clustering.KMeansCluster
K
- KMeansCluster - Class in com.linkedin.dagli.clustering
-
Clusters vectors into k groups via the KMeans++ algorithm and generates the [0, k-1] cluster assignment for each vector.
- KMeansCluster() - Constructor for class com.linkedin.dagli.clustering.KMeansCluster
-
Creates a new KMeans clusterer with k = 10 and unlimited iterations.
- KMeansCluster(int) - Constructor for class com.linkedin.dagli.clustering.KMeansCluster
-
Creates a new KMeans clusterer with the specified value of k and unlimited iterations.
N
- NearestDoubleArray - Class in com.linkedin.dagli.clustering
-
NearestDoubleArrayfinds the array that is "closest" (as determined by Euclidean distance) to an input array from a pre-determined list of candidates. - NearestDoubleArray() - Constructor for class com.linkedin.dagli.clustering.NearestDoubleArray
V
- validate() - Method in class com.linkedin.dagli.clustering.NearestDoubleArray
W
- withCandidates(List<double[]>) - Method in class com.linkedin.dagli.clustering.NearestDoubleArray
-
Sets the candidate vectors.
- withInput() - Method in class com.linkedin.dagli.clustering.KMeansCluster
- withInput(Producer<? extends DenseVector>) - Method in class com.linkedin.dagli.clustering.KMeansCluster
-
Creates a copy of this instance that will obtain
DenseVectorinputs from the specifiedProducer. - withInputArray(Producer<? extends double[]>) - Method in class com.linkedin.dagli.clustering.KMeansCluster
-
Creates a copy of this instance that will obtain its inputs from the specified
Producerof double arrays. - withK(int) - Method in class com.linkedin.dagli.clustering.KMeansCluster
-
Sets the number of clusters that will be computed.
- withMaxIterations(int) - Method in class com.linkedin.dagli.clustering.KMeansCluster
-
Returns a copy of this KMeansCluster transformer with the specified number of maximum iterations that will be used to optimize the clusters.
- withSeed(long) - Method in class com.linkedin.dagli.clustering.KMeansCluster
-
Sets the random seed (by default, 0) used for initialization.
All Classes|All Packages