jsat.clustering.evaluation.intra
Interface IntraClusterEvaluation
-
- All Known Implementing Classes:
- MaxDistance, MeanCentroidDistance, MeanDistance, SoSCentroidDistance, SumOfSqrdPairwiseDistances
public interface IntraClusterEvaluationThis interface defines the contract for a method to evaluate the intra-cluster distance. This means an evaluation of a single cluster, where a higher value indicates a poorly formed cluster. This evaluation does not take into account any other neighboring clusters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IntraClusterEvaluationclone()doubleevaluate(int[] designations, DataSet dataSet, int clusterID)Evaluates the cluster represented by the given list of data points.doubleevaluate(java.util.List<DataPoint> dataPoints)Evaluates the cluster represented by the given list of data points.
-
-
-
Method Detail
-
evaluate
double evaluate(int[] designations, DataSet dataSet, int clusterID)Evaluates the cluster represented by the given list of data points.- Parameters:
designations- the array of cluster designations for the data setdataSet- the full data set of all clustersclusterID- the cluster id in the designations array to return the evaluation of- Returns:
- the value in the range [0, Inf) that indicates how well formed the cluster is.
-
evaluate
double evaluate(java.util.List<DataPoint> dataPoints)
Evaluates the cluster represented by the given list of data points.- Parameters:
dataPoints- the data points that make up this cluster- Returns:
- the value in the range [0, Inf) that indicates how well formed the cluster is.
-
clone
IntraClusterEvaluation clone()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG