O
- Object type@Title(value="Ranking Quality Histogram") @Description(value="Evaluates the effectiveness of a distance function via the obtained rankings.") public class RankingQualityHistogram<O> extends AbstractDistanceBasedAlgorithm<O,CollectionResult<DoubleVector>>
Modifier and Type | Class and Description |
---|---|
static class |
RankingQualityHistogram.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
protected int |
numbins
Number of bins to use.
|
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
RankingQualityHistogram(DistanceFunction<? super O> distanceFunction,
int numbins)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
HistogramResult<DoubleVector> |
run(Database database,
Relation<O> relation)
Process a database
|
getDistanceFunction
makeParameterDistanceFunction, run
private static final Logging LOG
protected int numbins
public RankingQualityHistogram(DistanceFunction<? super O> distanceFunction, int numbins)
distanceFunction
- Distance function to evaluatenumbins
- Number of binspublic HistogramResult<DoubleVector> run(Database database, Relation<O> relation)
database
- Database to processrelation
- Relation to processpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<CollectionResult<DoubleVector>>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<CollectionResult<DoubleVector>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.