Class CFTree.Factory
- java.lang.Object
-
- elki.clustering.hierarchical.birch.CFTree.Factory
-
- Enclosing class:
- CFTree
public static class CFTree.Factory extends java.lang.Object
CF-Tree Factory.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFTree.Factory.Par
Parameterization class for CFTrees.
-
Field Summary
Fields Modifier and Type Field Description (package private) BIRCHAbsorptionCriterion
absorption
Criterion for absorbing points.(package private) int
branchingFactor
Maximum branching factor of CFTree.(package private) BIRCHDistance
distance
BIRCH distance function to use(package private) double
maxleaves
Maximum number of leaves (absolute or relative)(package private) double
threshold
Cluster merge threshold.
-
Constructor Summary
Constructors Constructor Description Factory(BIRCHDistance distance, BIRCHAbsorptionCriterion absorption, double threshold, int branchingFactor, double maxleaves)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CFTree
newTree(DBIDs ids, Relation<? extends NumberVector> relation)
Make a new tree.
-
-
-
Field Detail
-
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)
-
-
Constructor Detail
-
Factory
public Factory(BIRCHDistance distance, BIRCHAbsorptionCriterion absorption, double threshold, int branchingFactor, double maxleaves)
Constructor.- Parameters:
distance
- Distance to useabsorption
- Absorption criterion (diameter, distance).threshold
- Distance thresholdbranchingFactor
- Maximum branching factor.maxleaves
- Maximum number of leaves
-
-
Method Detail
-
newTree
public CFTree newTree(DBIDs ids, Relation<? extends NumberVector> relation)
Make a new tree.- Parameters:
ids
- DBIDs to insertrelation
- Data relation- Returns:
- New tree
-
-