ANNER - ANNYS - public class RandomBaselineClusterAnalyser<ANNER extends ClusterAnalyser<ANNYS>,ANNYS extends RandomBaselineWrappable & AnalysisResult> extends Object implements ClusterAnalyser<RandomBaselineClusterAnalysis<ANNYS>>
ClusterAnalyser as corrected by
a Random baseline. This implementation follows that of cluster eval:
http://chris.de-vries.id.au/2013/06/clustereval-10-release.html| Constructor and Description |
|---|
RandomBaselineClusterAnalyser(ANNER analyser) |
RandomBaselineClusterAnalyser(ANNER analyser,
int trials) |
RandomBaselineClusterAnalyser(ANNER analyser,
int trials,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
RandomBaselineClusterAnalysis<ANNYS> |
analyse(int[][] correct,
int[][] estimated) |
public RandomBaselineClusterAnalyser(ANNER analyser)
analyser - the underlying analyserpublic RandomBaselineClusterAnalyser(ANNER analyser, int trials)
analyser - trials - the number of random baselines to try, finding an average random scorepublic RandomBaselineClusterAnalyser(ANNER analyser, int trials, long seed)
analyser - trials - the number of random baselines to try, finding an average random scoreseed - public RandomBaselineClusterAnalysis<ANNYS> analyse(int[][] correct, int[][] estimated)
analyse in interface ClusterAnalyser<RandomBaselineClusterAnalysis<ANNYS extends RandomBaselineWrappable & AnalysisResult>>