|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<V,Clustering<Model>>
de.lmu.ifi.dbs.elki.algorithm.clustering.subspace.ProjectedClustering<V>
V
- the type of Realvector handled by this Algorithmpublic abstract class ProjectedClustering<V extends RealVector<V,?>>
Abstract superclass for projected clustering algorithms,
like PROCLUS
and ORCLUS
.
Field Summary | |
---|---|
private EuclideanDistanceFunction<V> |
distanceFunction
The euclidean distance function. |
private int |
k
Holds the value of K_PARAM . |
private int |
k_i
Holds the value of K_I_PARAM . |
static OptionID |
K_I_ID
OptionID for K_I_PARAM |
private IntParameter |
K_I_PARAM
Parameter to specify the multiplier for the initial number of seeds, must be an integer greater than 0. |
static OptionID |
K_ID
OptionID for K_PARAM |
private IntParameter |
K_PARAM
Parameter to specify the number of clusters to find, must be an integer greater than 0. |
private int |
l
Holds the value of L_PARAM . |
static OptionID |
L_ID
OptionID for L_PARAM |
private IntParameter |
L_PARAM
Parameter to specify the dimensionality of the clusters to find, must be an integer greater than 0. |
private Clustering<Model> |
result
The result. |
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
optionHandler |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug, logger |
Constructor Summary | |
---|---|
ProjectedClustering()
Adds parameters K_PARAM , K_I_PARAM , and L_PARAM
to the option handler additionally to parameters of super class. |
Method Summary | |
---|---|
protected EuclideanDistanceFunction<V> |
getDistanceFunction()
Returns the distance function. |
protected int |
getK_i()
Returns the value of K_I_PARAM . |
protected int |
getK()
Returns the value of K_PARAM . |
protected int |
getL()
Returns the value of L_PARAM .. |
Clustering<Model> |
getResult()
Retrieve the result. |
List<String> |
setParameters(List<String> args)
Calls the super method and sets additionally the value of the parameters K_PARAM , K_I_PARAM , and L_PARAM . |
protected void |
setResult(Clustering<Model> result)
Sets the result of this algorithm. |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
---|
isTime, isVerbose, run, runInTime, setTime, setVerbose |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, shortDescription |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.clustering.ClusteringAlgorithm |
---|
run |
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.Algorithm |
---|
getDescription, setTime, setVerbose |
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable |
---|
checkGlobalParameterConstraints, collectOptions, getParameters, shortDescription |
Field Detail |
---|
public static final OptionID K_ID
K_PARAM
private final IntParameter K_PARAM
Key: -projectedclustering.k
private int k
K_PARAM
.
public static final OptionID K_I_ID
K_I_PARAM
private final IntParameter K_I_PARAM
Default value: 30
Key: -projectedclustering.k_i
private int k_i
K_I_PARAM
.
public static final OptionID L_ID
L_PARAM
private final IntParameter L_PARAM
Key: -projectedclustering.l
private int l
L_PARAM
.
private EuclideanDistanceFunction<V extends RealVector<V,?>> distanceFunction
private Clustering<Model> result
Constructor Detail |
---|
public ProjectedClustering()
K_PARAM
, K_I_PARAM
, and L_PARAM
to the option handler additionally to parameters of super class.
Method Detail |
---|
public List<String> setParameters(List<String> args) throws ParameterException
K_PARAM
, K_I_PARAM
, and L_PARAM
.
setParameters
in interface Parameterizable
setParameters
in class AbstractAlgorithm<V extends RealVector<V,?>,Clustering<Model>>
args
- parameters to set the attributes accordingly to
ParameterException
- in case of wrong parameter-settingpublic Clustering<Model> getResult()
ClusteringAlgorithm
getResult
in interface Algorithm<V extends RealVector<V,?>,Clustering<Model>>
getResult
in interface ClusteringAlgorithm<Clustering<Model>,V extends RealVector<V,?>>
protected EuclideanDistanceFunction<V> getDistanceFunction()
protected int getK()
K_PARAM
.
protected int getK_i()
K_I_PARAM
.
protected int getL()
L_PARAM
..
protected void setResult(Clustering<Model> result)
result
- the result to be set
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |