|
|
|||||||||||||||||||||
| 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.algorithm.AbstractAlgorithm<V,Clustering<Model>>
de.lmu.ifi.dbs.elki.algorithm.clustering.ProjectedDBSCAN<V>
V - the type of NumberVector handled by this Algorithmpublic abstract class ProjectedDBSCAN<V extends NumberVector<V,?>>
Provides an abstract algorithm requiring a VarianceAnalysisPreprocessor.
| Field Summary | |
|---|---|
private AbstractLocallyWeightedDistanceFunction<V,?> |
distanceFunction
Holds the instance of the distance function specified by INNER_DISTANCE_FUNCTION_PARAM. |
protected DoubleDistance |
epsilon
Holds the value of EPSILON_PARAM. |
static OptionID |
EPSILON_ID
OptionID for EPSILON_PARAM |
private DistanceParameter<DoubleDistance> |
EPSILON_PARAM
Parameter to specify the maximum radius of the neighborhood to be considered, must be suitable to AbstractLocallyWeightedDistanceFunction. |
static OptionID |
INNER_DISTANCE_FUNCTION_ID
OptionID for INNER_DISTANCE_FUNCTION_PARAM |
private ObjectParameter<DistanceFunction<V,DoubleDistance>> |
INNER_DISTANCE_FUNCTION_PARAM
Parameter distance function |
private DistanceFunction<V,DoubleDistance> |
innerDistanceFunction
The inner distance function. |
private int |
lambda
Holds the value of LAMBDA_PARAM. |
static OptionID |
LAMBDA_ID
OptionID for LAMBDA_PARAM |
private IntParameter |
LAMBDA_PARAM
Parameter to specify the intrinsic dimensionality of the clusters to find, must be an integer greater than 0. |
protected int |
minpts
Holds the value of MINPTS_PARAM. |
static OptionID |
MINPTS_ID
OptionID for MINPTS_PARAM |
private IntParameter |
MINPTS_PARAM
Parameter to specify the threshold for minimum number of points in the epsilon-neighborhood of a point, must be an integer greater than 0. |
private Set<Integer> |
noise
Holds a set of noise. |
static OptionID |
OUTER_DISTANCE_FUNCTION_ID
OptionID for OUTER_DISTANCE_FUNCTION_PARAM |
protected ObjectParameter<AbstractLocallyWeightedDistanceFunction<V,?>> |
OUTER_DISTANCE_FUNCTION_PARAM
Parameter to specify the distance function to determine the distance between database objects, must extend AbstractLocallyWeightedDistanceFunction
. |
private Set<Integer> |
processedIDs
Holds a set of processed ids. |
private List<List<Integer>> |
resultList
Holds a list of clusters found. |
| Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
|---|
debug, logger |
| Constructor Summary | |
|---|---|
ProjectedDBSCAN(Parameterization config)
Constructor, adhering to Parameterizable |
|
| Method Summary | |
|---|---|
protected void |
expandCluster(Database<V> database,
Integer startObjectID,
FiniteProgress objprog,
IndefiniteProgress clusprog)
ExpandCluster function of DBSCAN. |
abstract Class<?> |
preprocessorClass()
Returns the class actually used as VarianceAnalysisPreprocessor. |
protected Clustering<Model> |
runInTime(Database<V> database)
The run method encapsulated in measure of runtime. |
| Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
|---|
isTime, isVerbose, run, setTime, setVerbose |
| 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 |
|---|
setTime, setVerbose |
| Field Detail |
|---|
public static final OptionID OUTER_DISTANCE_FUNCTION_ID
OUTER_DISTANCE_FUNCTION_PARAM
protected final ObjectParameter<AbstractLocallyWeightedDistanceFunction<V extends NumberVector<V,?>,?>> OUTER_DISTANCE_FUNCTION_PARAM
AbstractLocallyWeightedDistanceFunction
.
Key: -projdbscan.distancefunction
Default value:
LocallyWeightedDistanceFunction
public static final OptionID INNER_DISTANCE_FUNCTION_ID
INNER_DISTANCE_FUNCTION_PARAM
private final ObjectParameter<DistanceFunction<V extends NumberVector<V,?>,DoubleDistance>> INNER_DISTANCE_FUNCTION_PARAM
private AbstractLocallyWeightedDistanceFunction<V extends NumberVector<V,?>,?> distanceFunction
INNER_DISTANCE_FUNCTION_PARAM.
public static final OptionID EPSILON_ID
EPSILON_PARAM
private final DistanceParameter<DoubleDistance> EPSILON_PARAM
AbstractLocallyWeightedDistanceFunction.
Key: -projdbscan.epsilon
protected DoubleDistance epsilon
EPSILON_PARAM.
public static final OptionID LAMBDA_ID
LAMBDA_PARAM
private final IntParameter LAMBDA_PARAM
Key: -projdbscan.lambda
private int lambda
LAMBDA_PARAM.
public static final OptionID MINPTS_ID
MINPTS_PARAM
private final IntParameter MINPTS_PARAM
Key: -projdbscan.minpts
protected int minpts
MINPTS_PARAM.
private List<List<Integer>> resultList
private Set<Integer> noise
private Set<Integer> processedIDs
private DistanceFunction<V extends NumberVector<V,?>,DoubleDistance> innerDistanceFunction
| Constructor Detail |
|---|
public ProjectedDBSCAN(Parameterization config)
Parameterizable
config - Parameterization| Method Detail |
|---|
protected Clustering<Model> runInTime(Database<V> database)
throws IllegalStateException
AbstractAlgorithm
runInTime in class AbstractAlgorithm<V extends NumberVector<V,?>,Clustering<Model>>database - the database to run the algorithm on
IllegalStateException - if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).
protected void expandCluster(Database<V> database,
Integer startObjectID,
FiniteProgress objprog,
IndefiniteProgress clusprog)
database - the database to run the algorithm onstartObjectID - the object id of the database object to start the
expansion withobjprog - the progress object for logging the current statuspublic abstract Class<?> preprocessorClass()
VarianceAnalysisPreprocessor.
VarianceAnalysisPreprocessor
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||