@Title(value="Clustering by model") @Description(value="Cluster points by a (pre-assigned!) model. For comparing results with a reference clustering.") @Priority(value=-105) public class ByModelClustering extends AbstractAlgorithm<Clustering<Model>> implements ClusteringAlgorithm<Clustering<Model>>
Modifier and Type | Class and Description |
---|---|
static class |
ByModelClustering.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
private java.util.regex.Pattern |
noisepattern
Pattern to recognize noise clusters with.
|
ALGORITHM_ID
Constructor and Description |
---|
ByModelClustering()
Constructor without parameters
|
ByModelClustering(java.util.regex.Pattern noisepattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
Clustering<Model> |
run(Relation<Model> relation)
Run the actual clustering algorithm.
|
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
private java.util.regex.Pattern noisepattern
public ByModelClustering(java.util.regex.Pattern noisepattern)
noisepattern
- Noise patternpublic ByModelClustering()
public Clustering<Model> run(Relation<Model> relation)
relation
- The data input we usepublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<Clustering<Model>>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<Clustering<Model>>
Copyright © 2019 ELKI Development Team. License information.