Class CFTree.Factory
- java.lang.Object
-
- elki.clustering.hierarchical.birch.CFTree.Factory
-
- Enclosing class:
- CFTree
public static class CFTree.Factory extends java.lang.ObjectCF-Tree Factory.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFTree.Factory.ParParameterization class for CFTrees.
-
Field Summary
Fields Modifier and Type Field Description (package private) BIRCHAbsorptionCriterionabsorptionCriterion for absorbing points.(package private) intbranchingFactorMaximum branching factor of CFTree.(package private) BIRCHDistancedistanceBIRCH distance function to use(package private) doublemaxleavesMaximum number of leaves (absolute or relative)(package private) doublethresholdCluster 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 CFTreenewTree(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
-
-