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 int
bins
Number of binsstatic OptionID
BINS_ID
number of bins for the histogramstatic OptionID
POSITIVE_CLASS_NAME_ID
The object pattern to identify positive classesprotected java.util.regex.Pattern
positiveClassName
Stores the "positive" class.protected ScalingFunction
scaling
Scaling function to usestatic OptionID
SCALING_ID
Parameter to specify a scaling function to use.protected boolean
splitfreq
Flag to make split frequenciesstatic OptionID
SPLITFREQ_ID
Flag 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 void
configure(Parameterization config)
Configure the class.ComputeOutlierHistogram
make()
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:Parameterizer
Configure 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:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public ComputeOutlierHistogram make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-