public static class ExtractFlatClusteringFromHierarchy.Parameterizer<D extends Distance<D>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
(package private) HierarchicalClusteringAlgorithm<D> |
algorithm
The hierarchical clustering algorithm to run.
|
(package private) int |
minclusters
Number of clusters to extract.
|
static OptionID |
MINCLUSTERS_ID
The minimum number of clusters to extract.
|
static OptionID |
MODE_ID
Extraction mode to use.
|
(package private) ExtractFlatClusteringFromHierarchy.OutputMode |
outputmode
Flag to produce empty clusters to model the hierarchy above.
|
static OptionID |
OUTPUTMODE_ID
Parameter to configure the output mode (nested or truncated clusters).
|
(package private) boolean |
singletons
Also create singleton clusters.
|
static OptionID |
SINGLETONS_ID
Flag to produce singleton clusters.
|
(package private) D |
threshold
Threshold level.
|
static OptionID |
THRESHOLD_ID
The threshold level for which to extract the clustering.
|
(package private) ExtractFlatClusteringFromHierarchy.ThresholdMode |
thresholdmode
Threshold mode.
|
Constructor and Description |
---|
ExtractFlatClusteringFromHierarchy.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected ExtractFlatClusteringFromHierarchy<D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID MODE_ID
public static final OptionID MINCLUSTERS_ID
public static final OptionID THRESHOLD_ID
public static final OptionID OUTPUTMODE_ID
public static final OptionID SINGLETONS_ID
int minclusters
ExtractFlatClusteringFromHierarchy.OutputMode outputmode
HierarchicalClusteringAlgorithm<D extends Distance<D>> algorithm
ExtractFlatClusteringFromHierarchy.ThresholdMode thresholdmode
boolean singletons
public ExtractFlatClusteringFromHierarchy.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected ExtractFlatClusteringFromHierarchy<D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer