Package elki.evaluation.outlier
Class ComputeOutlierHistogram.Par
- java.lang.Object
-
- elki.evaluation.outlier.ComputeOutlierHistogram.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ComputeOutlierHistogram
public static class ComputeOutlierHistogram.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected intbinsNumber of binsstatic OptionIDBINS_IDnumber of bins for the histogramstatic OptionIDPOSITIVE_CLASS_NAME_IDThe object pattern to identify positive classesprotected java.util.regex.PatternpositiveClassNameStores the "positive" class.protected ScalingFunctionscalingScaling function to usestatic OptionIDSCALING_IDParameter to specify a scaling function to use.protected booleansplitfreqFlag to make split frequenciesstatic OptionIDSPLITFREQ_IDFlag to count frequencies of outliers and non-outliers separately
-
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.ComputeOutlierHistogrammake()Make an instance after successful configuration.
-
-
-
Field Detail
-
POSITIVE_CLASS_NAME_ID
public static final OptionID POSITIVE_CLASS_NAME_ID
The object pattern to identify positive classes
-
BINS_ID
public static final OptionID BINS_ID
number of bins for the histogram
-
SCALING_ID
public static final OptionID SCALING_ID
Parameter to specify a scaling function to use.
-
SPLITFREQ_ID
public static final OptionID SPLITFREQ_ID
Flag to count frequencies of outliers and non-outliers separately
-
positiveClassName
protected java.util.regex.Pattern positiveClassName
Stores the "positive" class.
-
bins
protected int bins
Number of bins
-
scaling
protected ScalingFunction scaling
Scaling function to use
-
splitfreq
protected boolean splitfreq
Flag to make split frequencies
-
-
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 ComputeOutlierHistogram 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
-
-