jsat.clustering.evaluation
Class ClusterEvaluationBase
- java.lang.Object
-
- jsat.clustering.evaluation.ClusterEvaluationBase
-
- All Implemented Interfaces:
- ClusterEvaluation
- Direct Known Subclasses:
- IntraClusterSumEvaluation
public abstract class ClusterEvaluationBase extends java.lang.Object implements ClusterEvaluation
Base implementation for one of the methods inClusterEvaluationto make life easier.
-
-
Constructor Summary
Constructors Constructor and Description ClusterEvaluationBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract ClusterEvaluationclone()doubleevaluate(int[] designations, DataSet dataSet)Evaluates the clustering of the given clustering.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsat.clustering.evaluation.ClusterEvaluation
evaluate
-
-
-
-
Method Detail
-
evaluate
public double evaluate(int[] designations, DataSet dataSet)Description copied from interface:ClusterEvaluationEvaluates the clustering of the given clustering.- Specified by:
evaluatein interfaceClusterEvaluation- Parameters:
designations- the array that stores the cluster assignments for each data point in the data setdataSet- the data set that contains all data points- Returns:
- a value in [0, Inf) that indicates the quality of the clustering.
-
clone
public abstract ClusterEvaluation clone()
- Specified by:
clonein interfaceClusterEvaluation- Overrides:
clonein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG