public class BisectingKMeans extends Object implements Clustering
KMeansClustering
implementation. Any properties passed to this clustering
method are passed onto the KMeansClustering
algorithm, allowing the
user to set the desired seeding method.KMeansClustering
Constructor and Description |
---|
BisectingKMeans() |
Modifier and Type | Method and Description |
---|---|
Assignments |
cluster(Matrix dataPoints,
int numClusters,
Properties props)
Clusters the set of rows in the given
Matrix into the specified
number of clusters. |
Assignments |
cluster(Matrix dataPoints,
Properties props)
Not implemented.
|
String |
toString() |
public Assignments cluster(Matrix dataPoints, Properties props)
cluster
in interface Clustering
dataPoints
- the Matrix
whose row data points are to be
clusteredprops
- the properties to use for any parameters each clustering
algorithm may needAssignment
instances that indicate zero or
more clusters to which each row belongs.public Assignments cluster(Matrix dataPoints, int numClusters, Properties props)
Matrix
into the specified
number of clusters. The set of cluster assignments are returned for each
row in the matrix.cluster
in interface Clustering
dataPoints
- the Matrix
whose row data points are to be
clusterednumClusters
- the number of clusters to generateprops
- the properties to use for any parameters each clustering
algorithm may needAssignment
instances that indicate zero or
more clusters to which each row belongs.Copyright © 2012. All Rights Reserved.