public class KNNKernelDensityMinimaClustering<V extends NumberVector> extends AbstractAlgorithm<Clustering<ClusterModel>> implements ClusteringAlgorithm<Clustering<ClusterModel>>
Modifier and Type | Class and Description |
---|---|
static class |
KNNKernelDensityMinimaClustering.Mode
Estimation mode.
|
static class |
KNNKernelDensityMinimaClustering.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
dim
Dimension to use for clustering.
|
protected int |
k
Number of neighbors to use for bandwidth.
|
protected KernelDensityFunction |
kernel
Kernel density function.
|
private static Logging |
LOG
Class logger.
|
protected int |
minwindow
Window width, for local minima criterions.
|
protected KNNKernelDensityMinimaClustering.Mode |
mode
Estimation modes.
|
Constructor and Description |
---|
KNNKernelDensityMinimaClustering(int dim,
KernelDensityFunction kernel,
KNNKernelDensityMinimaClustering.Mode mode,
int k,
int minwindow)
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<ClusterModel> |
run(Relation<V> relation)
Run the clustering algorithm on a data relation.
|
makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
protected int dim
protected KernelDensityFunction kernel
protected KNNKernelDensityMinimaClustering.Mode mode
protected int k
protected int minwindow
public KNNKernelDensityMinimaClustering(int dim, KernelDensityFunction kernel, KNNKernelDensityMinimaClustering.Mode mode, int k, int minwindow)
dim
- Dimension to use for clusteringkernel
- Kernel functionmode
- Bandwidth modek
- Number of neighborsminwindow
- Window size for comparisonpublic Clustering<ClusterModel> run(Relation<V> relation)
relation
- Relationpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<Clustering<ClusterModel>>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<Clustering<ClusterModel>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.