Package elki.outlier.meta
Class ExternalDoubleOutlierScore.Par
- java.lang.Object
-
- elki.outlier.meta.ExternalDoubleOutlierScore.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ExternalDoubleOutlierScore
public static class ExternalDoubleOutlierScore.Par extends java.lang.Object implements Parameterizer
Parameterization class- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private java.net.URI
file
The file to be reparsedstatic OptionID
FILE_ID
Parameter that specifies the name of the file to be re-parsed.static OptionID
ID_ID
Parameter that specifies the object ID patternprivate java.util.regex.Pattern
idpattern
object id patternprivate boolean
inverted
Inversion flag.static OptionID
INVERTED_ID
Flag parameter for inverted scores.private ScalingFunction
scaling
Scaling function to usestatic OptionID
SCALING_ID
Parameter to specify a scaling function to use.static OptionID
SCORE_ID
Parameter that specifies the object score patternprivate java.util.regex.Pattern
scorepattern
object score pattern
-
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.ExternalDoubleOutlierScore
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
FILE_ID
public static final OptionID FILE_ID
Parameter that specifies the name of the file to be re-parsed.
-
ID_ID
public static final OptionID ID_ID
Parameter that specifies the object ID pattern
-
SCORE_ID
public static final OptionID SCORE_ID
Parameter that specifies the object score pattern
-
SCALING_ID
public static final OptionID SCALING_ID
Parameter to specify a scaling function to use.
-
INVERTED_ID
public static final OptionID INVERTED_ID
Flag parameter for inverted scores.
-
file
private java.net.URI file
The file to be reparsed
-
idpattern
private java.util.regex.Pattern idpattern
object id pattern
-
scorepattern
private java.util.regex.Pattern scorepattern
object score pattern
-
scaling
private ScalingFunction scaling
Scaling function to use
-
inverted
private boolean inverted
Inversion flag.
-
-
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 ExternalDoubleOutlierScore 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
-
-