Class CFTree.Factory.Par
- java.lang.Object
-
- elki.clustering.hierarchical.birch.CFTree.Factory.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- CFTree.Factory
public static class CFTree.Factory.Par extends java.lang.Object implements Parameterizer
Parameterization class for CFTrees.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BIRCHAbsorptionCriterion
absorption
Criterion for absorbing points.static OptionID
ABSORPTION_ID
Absorption parameter.static OptionID
BRANCHING_ID
Branching factor.(package private) int
branchingFactor
Maximum branching factor of CFTree.(package private) BIRCHDistance
distance
BIRCH distance function to usestatic OptionID
DISTANCE_ID
Distance function parameter.(package private) double
maxleaves
Maximum number of leaves (absolute or relative)static OptionID
MAXLEAVES_ID
Maximum number of leaves.(package private) double
threshold
Cluster merge threshold.static OptionID
THRESHOLD_ID
Distance threshold.
-
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.CFTree.Factory
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
DISTANCE_ID
public static final OptionID DISTANCE_ID
Distance function parameter.
-
ABSORPTION_ID
public static final OptionID ABSORPTION_ID
Absorption parameter.
-
THRESHOLD_ID
public static final OptionID THRESHOLD_ID
Distance threshold.
-
BRANCHING_ID
public static final OptionID BRANCHING_ID
Branching factor.
-
MAXLEAVES_ID
public static final OptionID MAXLEAVES_ID
Maximum number of leaves.
-
distance
BIRCHDistance distance
BIRCH distance function to use
-
absorption
BIRCHAbsorptionCriterion absorption
Criterion for absorbing points.
-
threshold
double threshold
Cluster merge threshold.
-
branchingFactor
int branchingFactor
Maximum branching factor of CFTree.
-
maxleaves
double maxleaves
Maximum number of leaves (absolute or relative)
-
-
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 CFTree.Factory 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
-
-