Package elki.outlier.intrinsic
Class LID.Par<O>
- java.lang.Object
-
- elki.outlier.intrinsic.LID.Par<O>
-
- All Implemented Interfaces:
Parameterizer
public static class LID.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected Distance<? super O>distanceThe distance function to use.protected IntrinsicDimensionalityEstimator<? super O>estimatorEstimator for intrinsic dimensionality.static OptionIDESTIMATOR_IDClass to use for estimating the ID.protected intkNumber of neighbors to use for ID estimation.static OptionIDK_IDParameter for the number of neighbors.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.LID<O>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
K_ID
public static final OptionID K_ID
Parameter for the number of neighbors.
-
ESTIMATOR_ID
public static final OptionID ESTIMATOR_ID
Class to use for estimating the ID.
-
k
protected int k
Number of neighbors to use for ID estimation.
-
estimator
protected IntrinsicDimensionalityEstimator<? super O> estimator
Estimator for intrinsic dimensionality.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public LID<O> make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-