Package elki.application.experiments
Class EvaluateIntrinsicDimensionalityEstimators
- java.lang.Object
-
- elki.application.AbstractApplication
-
- elki.application.experiments.EvaluateIntrinsicDimensionalityEstimators
-
public class EvaluateIntrinsicDimensionalityEstimators extends AbstractApplication
Class for testing the estimation quality of intrinsic dimensionality estimators.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
EvaluateIntrinsicDimensionalityEstimators.Aggregate
Aggregation methods.(package private) static class
EvaluateIntrinsicDimensionalityEstimators.OutputFormat
Output formatstatic class
EvaluateIntrinsicDimensionalityEstimators.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) EvaluateIntrinsicDimensionalityEstimators.Aggregate
agg
Aggregation method.(package private) int
dim
Benchmark parameters.(package private) EvaluateIntrinsicDimensionalityEstimators.OutputFormat
format
Output format parameter.(package private) int
maxk
Benchmark parameters.(package private) RandomFactory
rnd
Random generator.(package private) int
samples
Benchmark parameters.(package private) int
startk
Benchmark parameters.-
Fields inherited from class elki.application.AbstractApplication
REFERENCE, VERSION
-
-
Constructor Summary
Constructors Constructor Description EvaluateIntrinsicDimensionalityEstimators(int startk, int maxk, int samples, int dim, EvaluateIntrinsicDimensionalityEstimators.Aggregate agg, EvaluateIntrinsicDimensionalityEstimators.OutputFormat format, RandomFactory rnd)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Main methodprotected double[]
makeSample(int maxk)
Generate a data sample.void
run()
Runs the application.-
Methods inherited from class elki.application.AbstractApplication
printErrorMessage, runCLIApplication, usage
-
-
-
-
Field Detail
-
startk
int startk
Benchmark parameters.
-
maxk
int maxk
Benchmark parameters.
-
samples
int samples
Benchmark parameters.
-
dim
int dim
Benchmark parameters.
-
agg
EvaluateIntrinsicDimensionalityEstimators.Aggregate agg
Aggregation method.
-
format
EvaluateIntrinsicDimensionalityEstimators.OutputFormat format
Output format parameter.
-
rnd
RandomFactory rnd
Random generator.
-
-
Constructor Detail
-
EvaluateIntrinsicDimensionalityEstimators
public EvaluateIntrinsicDimensionalityEstimators(int startk, int maxk, int samples, int dim, EvaluateIntrinsicDimensionalityEstimators.Aggregate agg, EvaluateIntrinsicDimensionalityEstimators.OutputFormat format, RandomFactory rnd)
Constructor.- Parameters:
startk
- Start value of kmaxk
- Maximum value of ksamples
- Number of samplesdim
- Number of dimensionsagg
- Aggregation methodformat
- Output formatrnd
- Random seed.
-
-
Method Detail
-
run
public void run()
Description copied from class:AbstractApplication
Runs the application.- Specified by:
run
in classAbstractApplication
-
makeSample
protected double[] makeSample(int maxk)
Generate a data sample.- Parameters:
maxk
- Number of entries.- Returns:
- Data sample
-
main
public static void main(java.lang.String[] args)
Main method
-
-