@Title(value="Clustering by model") @Description(value="Cluster points by a (pre-assigned!) model. For comparing results with a reference clustering.") 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.
|
static OptionID |
NOISE_ID
Pattern to recognize noise clusters with
|
private Pattern |
noisepattern
Holds the value of
NOISE_ID . |
Constructor and Description |
---|
ByModelClustering()
Constructor without parameters
|
ByModelClustering(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.
|
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
public static final OptionID NOISE_ID
public ByModelClustering(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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.