public interface Clusterer extends Serializable
Modifier and Type | Method and Description |
---|---|
Clusterer |
clone() |
List<List<DataPoint>> |
cluster(DataSet dataSet)
Performs clustering on the given data set.
|
List<List<DataPoint>> |
cluster(DataSet dataSet,
ExecutorService threadpool)
Performs clustering on the given data set.
|
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.
|
boolean |
supportsWeightedData()
Indicates whether the model knows how to cluster using weighted data
points.
|
List<List<DataPoint>> cluster(DataSet dataSet)
dataSet
- the data set to perform clustering onint[] cluster(DataSet dataSet, int[] designations)
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.List<List<DataPoint>> cluster(DataSet dataSet, ExecutorService threadpool)
dataSet
- the data set to perform clustering onthreadpool
- a source of threads to run tasksint[] cluster(DataSet dataSet, ExecutorService threadpool, int[] designations)
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.boolean supportsWeightedData()
Clusterer clone()
Copyright © 2017. All rights reserved.