Package elki.outlier.density
Class IsolationForest.Par
- java.lang.Object
-
- elki.outlier.density.IsolationForest.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- IsolationForest
public static class IsolationForest.Par extends java.lang.Object implements Parameterizer
Parameterization class- Author:
- Braulio V.S. Vinces
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
NUM_TREES_ID
Parameter for the number of treesprotected int
numTrees
Number of treesprotected RandomFactory
rnd
Random generatorstatic OptionID
SEED_ID
Parameter to specify the seed to initialize Random.static OptionID
SUBSAMPLE_SIZE_ID
Parameter for the sub sample sizeprotected int
subsampleSize
Size of the sample set
-
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.IsolationForest
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
NUM_TREES_ID
public static final OptionID NUM_TREES_ID
Parameter for the number of trees
-
SUBSAMPLE_SIZE_ID
public static final OptionID SUBSAMPLE_SIZE_ID
Parameter for the sub sample size
-
SEED_ID
public static final OptionID SEED_ID
Parameter to specify the seed to initialize Random.
-
numTrees
protected int numTrees
Number of trees
-
subsampleSize
protected int subsampleSize
Size of the sample set
-
rnd
protected RandomFactory rnd
Random generator
-
-
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 IsolationForest 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
-
-