public static class ComputeKNNOutlierScores.Parameterizer<O,D extends NumberDistance<D,?>> extends AbstractApplication.Parameterizer
Modifier and Type | Field and Description |
---|---|
(package private) ByLabelOutlier |
bylabel
By label outlier -- reference
|
(package private) DistanceFunction<? super O,D> |
distf
Distance function to use
|
(package private) InputStep |
inputstep
Data source
|
(package private) int |
maxk
Maximum value of k
|
static OptionID |
MAXK_ID
Option ID for k step size.
|
(package private) File |
outfile
Output destination file
|
(package private) int |
startk
starting value of k
|
static OptionID |
STARTK_ID
Option ID for k start size.
|
(package private) int |
stepk
k step size
|
static OptionID |
STEPK_ID
Option ID for k step size.
|
INPUT_ID, OUTPUT_ID
Constructor and Description |
---|
ComputeKNNOutlierScores.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected AbstractApplication |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configVerbose, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile
configure, make
public static final OptionID STEPK_ID
public static final OptionID STARTK_ID
public static final OptionID MAXK_ID
int stepk
int startk
int maxk
InputStep inputstep
DistanceFunction<? super O,D extends NumberDistance<D,?>> distf
ByLabelOutlier bylabel
File outfile
public ComputeKNNOutlierScores.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractApplication.Parameterizer
config
- Parameterization to add options to.protected AbstractApplication makeInstance()
AbstractParameterizer
makeInstance
in class AbstractApplication.Parameterizer