D - The type of data which the internal clusterer can cluster lists ofT - The type of results thepublic class RangedDBSCANClusterEvaluator<D,T extends AnalysisResult> extends Object implements Evaluator<Map<Double,int[][]>,RangedAnalysisResult<Double,T>>
| Constructor and Description |
|---|
RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r,
SparseMatrixDBSCAN gen,
Map<A,? extends List<B>> dataset,
Function<List<B>,ch.akuhn.matrix.SparseMatrix> transform,
ClusterAnalyser<T> analyser) |
RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r,
SparseMatrixDBSCAN gen,
ch.akuhn.matrix.SparseMatrix data,
Function<B,Integer> indexFunc,
Map<A,? extends List<B>> dataset,
ClusterAnalyser<T> analyser) |
RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r,
SparseMatrixDBSCAN gen,
ch.akuhn.matrix.SparseMatrix data,
int[][] clusters,
ClusterAnalyser<T> analyser) |
RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r,
SparseMatrixDBSCAN gen,
ch.akuhn.matrix.SparseMatrix data,
Map<A,? extends List<B>> dataset,
ClusterAnalyser<T> analyser) |
| Modifier and Type | Method and Description |
|---|---|
RangedAnalysisResult<Double,T> |
analyse(Map<Double,int[][]> estimated) |
Map<Double,int[][]> |
evaluate() |
public RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r, SparseMatrixDBSCAN gen, ch.akuhn.matrix.SparseMatrix data, int[][] clusters, ClusterAnalyser<T> analyser)
r - the range of values for the SparseMatrixDBSCAN eps
valuegen - data - clusters - analyser - public RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r, SparseMatrixDBSCAN gen, ch.akuhn.matrix.SparseMatrix data, Map<A,? extends List<B>> dataset, ClusterAnalyser<T> analyser)
r - the range of values for the SparseMatrixDBSCAN eps
valuegen - data - dataset - extract the elements of this map "in order" and build a ground
truth. very dangerous.analyser - public RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r, SparseMatrixDBSCAN gen, ch.akuhn.matrix.SparseMatrix data, Function<B,Integer> indexFunc, Map<A,? extends List<B>> dataset, ClusterAnalyser<T> analyser)
r - the range of values for the SparseMatrixDBSCAN eps
valuegen - data - indexFunc - given a data instance, return its indexdataset - analyser - public RangedDBSCANClusterEvaluator(UniformDoubleRangeIterable r, SparseMatrixDBSCAN gen, Map<A,? extends List<B>> dataset, Function<List<B>,ch.akuhn.matrix.SparseMatrix> transform, ClusterAnalyser<T> analyser)
r - the range of values for the SparseMatrixDBSCAN eps
valuegen - dataset - transform - turn a list of dataset items into the required type for
clusteringanalyser - public Map<Double,int[][]> evaluate()
evaluate in interface Evaluator<Map<Double,int[][]>,RangedAnalysisResult<Double,T extends AnalysisResult>>public RangedAnalysisResult<Double,T> analyse(Map<Double,int[][]> estimated)
analyse in interface Evaluator<Map<Double,int[][]>,RangedAnalysisResult<Double,T extends AnalysisResult>>