public class CutDendrogramByNumberOfClusters extends AbstractCutDendrogram implements ClusteringAlgorithm<Clustering<DendrogramModel>>
Modifier and Type | Class and Description |
---|---|
protected class |
CutDendrogramByNumberOfClusters.Instance
Instance for a single data set.
|
static class |
CutDendrogramByNumberOfClusters.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) static Logging |
LOG
Class logger.
|
private int |
minclusters
Minimum number of clusters to extract
|
algorithm, hierarchical
Constructor and Description |
---|
CutDendrogramByNumberOfClusters(HierarchicalClusteringAlgorithm algorithm,
int minclusters,
boolean hierarchical)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Logging |
getLogger() |
Clustering<DendrogramModel> |
run(PointerHierarchyRepresentationResult pointerresult)
Process a pointer hierarchy result.
|
getInputTypeRestriction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
getInputTypeRestriction
static final Logging LOG
private final int minclusters
public CutDendrogramByNumberOfClusters(HierarchicalClusteringAlgorithm algorithm, int minclusters, boolean hierarchical)
algorithm
- Algorithm to runminclusters
- Minimum number of clustershierarchical
- Produce a hierarchical outputpublic Clustering<DendrogramModel> run(PointerHierarchyRepresentationResult pointerresult)
AbstractCutDendrogram
run
in class AbstractCutDendrogram
pointerresult
- Hierarchical result in pointer representation.protected Logging getLogger()
getLogger
in class AbstractCutDendrogram
Copyright © 2019 ELKI Development Team. License information.