
@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.ParameterizerParameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGThe logger for this class. | 
| static OptionID | NOISE_IDPattern to recognize noise clusters with | 
| private Pattern | noisepatternHolds 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, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate 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()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<Clustering<Model>>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<Clustering<Model>>