public class IntraClusterSumEvaluation extends ClusterEvaluationBase
IntraClusterEvaluation
applied to each cluster.Constructor and Description |
---|
IntraClusterSumEvaluation(IntraClusterEvaluation ice)
Creates a new cluster evaluation that returns the sum of the intra
cluster evaluations
|
IntraClusterSumEvaluation(IntraClusterSumEvaluation toCopy)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
IntraClusterSumEvaluation |
clone() |
double |
evaluate(List<List<DataPoint>> dataSets)
Evaluates the clustering of the given set of clusters.
|
evaluate
public IntraClusterSumEvaluation(IntraClusterEvaluation ice)
ice
- the intra cluster evaluation to usepublic IntraClusterSumEvaluation(IntraClusterSumEvaluation toCopy)
toCopy
- the object to copypublic double evaluate(List<List<DataPoint>> dataSets)
ClusterEvaluation
dataSets
- a list of lists, where the size of the first index
indicates the the number of clusters, and the list at each index is the
data points that make up each cluster.public IntraClusterSumEvaluation clone()
clone
in interface ClusterEvaluation
clone
in class ClusterEvaluationBase
Copyright © 2017. All rights reserved.