R
- the result we returnV
- the type of FeatureVector handled by this Algorithmpublic abstract class AbstractProjectedClustering<R extends Clustering<Model>,V extends NumberVector<V,?>> extends AbstractAlgorithm<R> implements ClusteringAlgorithm<R>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractProjectedClustering.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super V,DoubleDistance> |
distanceFunction
The euclidean distance function.
|
protected int |
k
Holds the value of
K_ID . |
protected int |
k_i
Holds the value of
K_I_ID . |
static OptionID |
K_I_ID
Parameter to specify the multiplier for the initial number of seeds, must
be an integer greater than 0.
|
static OptionID |
K_ID
Parameter to specify the number of clusters to find, must be an integer
greater than 0.
|
protected int |
l
Holds the value of
L_ID . |
static OptionID |
L_ID
Parameter to specify the dimensionality of the clusters to find, must be an
integer greater than 0.
|
Constructor and Description |
---|
AbstractProjectedClustering(int k,
int k_i,
int l)
Internal constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DistanceFunction<? super V,DoubleDistance> |
getDistanceFunction()
Returns the distance function.
|
protected DistanceQuery<V,DoubleDistance> |
getDistanceQuery(Database database)
Returns the distance function.
|
getInputTypeRestriction, getLogger, makeParameterDistanceFunction, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
getInputTypeRestriction
public static final OptionID K_ID
Key: -projectedclustering.k
public static final OptionID K_I_ID
Default value: 30
Key: -projectedclustering.k_i
public static final OptionID L_ID
Key: -projectedclustering.l
protected int k
K_ID
.protected int k_i
K_I_ID
.protected int l
L_ID
.private DistanceFunction<? super V extends NumberVector<V,?>,DoubleDistance> distanceFunction
public AbstractProjectedClustering(int k, int k_i, int l)
k
- K parameterk_i
- K_i parameterl
- L parameterprotected DistanceFunction<? super V,DoubleDistance> getDistanceFunction()
protected DistanceQuery<V,DoubleDistance> getDistanceQuery(Database database)