Interface NeighborEvaluator
-
- All Known Implementing Classes:
ClassifyingNeighborEvaluator,MedoidEvaluator,PairwiseEvaluator,RandomEvaluator,RankingNeighborEvaluator
public interface NeighborEvaluatorScores the value of changing the currentClusteringto the modifiedClusteringspecified in aNeighborobject. A common implementation of this interface uses aClassifierto assign a score to aNeighbor.- Since:
- 1.0
- Version:
- 1.0
- Author:
- "Aron Culotta"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleevaluate(Neighbor neighbor)double[]evaluate(Neighbor[] neighbors)voidreset()Reset the state of the evaluator.
-
-
-
Method Detail
-
evaluate
double evaluate(Neighbor neighbor)
- Parameters:
neighbor-- Returns:
- A higher score indicates that the modified Clustering is preferred.
-
evaluate
double[] evaluate(Neighbor[] neighbors)
- Parameters:
neighbors-- Returns:
- One score per neighbor. A higher score indicates that the modified Clustering is preferred.
-
reset
void reset()
Reset the state of the evaluator.
-
-