Class ClusteringEvaluator

java.lang.Object
org.tribuo.evaluation.AbstractEvaluator<ClusterID,org.tribuo.clustering.evaluation.ClusteringMetric.Context,ClusteringEvaluation,ClusteringMetric>
org.tribuo.clustering.evaluation.ClusteringEvaluator
All Implemented Interfaces:
Evaluator<ClusterID,ClusteringEvaluation>

public class ClusteringEvaluator extends AbstractEvaluator<ClusterID,org.tribuo.clustering.evaluation.ClusteringMetric.Context,ClusteringEvaluation,ClusteringMetric>
A Evaluator for clustering using ClusterIDs.

If the dataset contains an unassigned cluster id (as generated by ClusteringFactory.getUnknownOutput()) then the evaluate methods will throw IllegalArgumentException with an appropriate message.