public class DivisiveLocalClusterer extends KClustererBase
SimpleHAC
, top-down methods require another
clustering method to perform the splitting at each iteration. If the base
method is not deterministic, then the top-down method will not be
deterministic.
Constructor and Description |
---|
DivisiveLocalClusterer(DivisiveLocalClusterer toCopy)
Copy constructor
|
DivisiveLocalClusterer(KClusterer baseClusterer,
ClusterEvaluation clusterEvaluation) |
Modifier and Type | Method and Description |
---|---|
DivisiveLocalClusterer |
clone() |
int[] |
cluster(DataSet dataSet,
ExecutorService threadpool,
int[] designations)
Performs clustering on the given data set.
|
int[] |
cluster(DataSet dataSet,
int[] designations)
Performs clustering on the given data set.
|
int[] |
cluster(DataSet dataSet,
int clusters,
ExecutorService threadpool,
int[] designations) |
int[] |
cluster(DataSet dataSet,
int clusters,
int[] designations) |
int[] |
cluster(DataSet dataSet,
int lowK,
int highK,
ExecutorService threadpool,
int[] designations) |
int[] |
cluster(DataSet dataSet,
int lowK,
int highK,
int[] designations) |
cluster, cluster, cluster, cluster
cluster, cluster, createClusterListFromAssignmentArray, getDatapointsFromCluster, supportsWeightedData
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cluster, cluster, supportsWeightedData
public DivisiveLocalClusterer(KClusterer baseClusterer, ClusterEvaluation clusterEvaluation)
public DivisiveLocalClusterer(DivisiveLocalClusterer toCopy)
toCopy
- the object to copypublic int[] cluster(DataSet dataSet, int[] designations)
Clusterer
dataSet
- the data set to perform clustering ondesignations
- the array which will contain the designated values. The array will be altered and returned by
the function. If null is given, a new array will be created and returned.public int[] cluster(DataSet dataSet, ExecutorService threadpool, int[] designations)
Clusterer
dataSet
- the data set to perform clustering onthreadpool
- a source of threads to run tasksdesignations
- the array which will contain the designated values. The array will be altered and returned by
the function. If null is given, a new array will be created and returned.public int[] cluster(DataSet dataSet, int clusters, ExecutorService threadpool, int[] designations)
public int[] cluster(DataSet dataSet, int clusters, int[] designations)
public int[] cluster(DataSet dataSet, int lowK, int highK, ExecutorService threadpool, int[] designations)
public int[] cluster(DataSet dataSet, int lowK, int highK, int[] designations)
public DivisiveLocalClusterer clone()
clone
in interface Clusterer
clone
in interface KClusterer
clone
in class KClustererBase
Copyright © 2017. All rights reserved.