Package de.jungblut.clustering
Class DBSCAN
- java.lang.Object
-
- de.jungblut.clustering.DBSCAN
-
public final class DBSCAN extends java.lang.ObjectSequential version of DBSCAN to evaluate if this algorithm is suitable for arbitrary parallelization paradigms that can crunch graphs.
PLAN:
1. compute distance matrix between the points
2. extract adjacent points via threshold epsilon and minpoints s
3. run connected components (here BFS)
4. PROFIT!
-
-
Constructor Summary
Constructors Constructor Description DBSCAN()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<de.jungblut.math.DoubleVector>[]cluster(java.util.List<de.jungblut.math.DoubleVector> points, DistanceMeasurer measurer, int minPoints, double epsilon)Clusters the points.java.util.List<de.jungblut.math.DoubleVector>getNoise()
-
-
-
Method Detail
-
cluster
public java.util.ArrayList<de.jungblut.math.DoubleVector>[] cluster(java.util.List<de.jungblut.math.DoubleVector> points, DistanceMeasurer measurer, int minPoints, double epsilon)Clusters the points.- Parameters:
measurer- the distance measurer to use.minPoints- the minimum points in a cluster.epsilon- the radius of a point to detect other points.
-
getNoise
public java.util.List<de.jungblut.math.DoubleVector> getNoise()
- Returns:
- the found noise as list of vectors.
-
-