public class DBSCAN extends ClustererBase
Constructor and Description |
---|
DBSCAN() |
DBSCAN(DBSCAN toCopy)
Copy constructor
|
DBSCAN(DistanceMetric dm) |
DBSCAN(DistanceMetric dm,
VectorCollectionFactory<VecPaired<Vec,Integer>> vecFactory) |
Modifier and Type | Method and Description |
---|---|
DBSCAN |
clone() |
List<List<DataPoint>> |
cluster(DataSet dataSet,
double eps,
int minPts) |
List<List<DataPoint>> |
cluster(DataSet dataSet,
double eps,
int minPts,
ExecutorService threadpool) |
int[] |
cluster(DataSet dataSet,
double eps,
int minPts,
ExecutorService threadpool,
int[] designations) |
int[] |
cluster(DataSet dataSet,
double eps,
int minPts,
int[] designations) |
int[] |
cluster(DataSet dataSet,
ExecutorService threadpool,
int[] designations)
Performs clustering on the given data set.
|
List<List<DataPoint>> |
cluster(DataSet dataSet,
int minPts) |
int[] |
cluster(DataSet dataSet,
int[] designations)
Performs clustering on the given data set.
|
List<List<DataPoint>> |
cluster(DataSet dataSet,
int minPts,
ExecutorService threadpool) |
int[] |
cluster(DataSet dataSet,
int minPts,
ExecutorService threadpool,
int[] designations) |
int[] |
cluster(DataSet dataSet,
int minPts,
int[] designations) |
cluster, cluster, createClusterListFromAssignmentArray, getDatapointsFromCluster, supportsWeightedData
public DBSCAN(DistanceMetric dm, VectorCollectionFactory<VecPaired<Vec,Integer>> vecFactory)
public DBSCAN()
public DBSCAN(DistanceMetric dm)
public DBSCAN(DBSCAN toCopy)
toCopy
- the object to copypublic int[] cluster(DataSet dataSet, int minPts, int[] designations)
public int[] cluster(DataSet dataSet, int[] designations)
Clusterer
dataSet
- the data set to perform clustering ondesignations
- the array which will contain the designated values. The array will be altered and returned by
the function. If null is given, a new array will be created and returned.public int[] cluster(DataSet dataSet, ExecutorService threadpool, int[] designations)
Clusterer
dataSet
- the data set to perform clustering onthreadpool
- a source of threads to run tasksdesignations
- the array which will contain the designated values. The array will be altered and returned by
the function. If null is given, a new array will be created and returned.public DBSCAN clone()
clone
in interface Clusterer
clone
in class ClustererBase
public List<List<DataPoint>> cluster(DataSet dataSet, int minPts, ExecutorService threadpool)
public int[] cluster(DataSet dataSet, int minPts, ExecutorService threadpool, int[] designations)
public int[] cluster(DataSet dataSet, double eps, int minPts, int[] designations)
public List<List<DataPoint>> cluster(DataSet dataSet, double eps, int minPts, ExecutorService threadpool)
public int[] cluster(DataSet dataSet, double eps, int minPts, ExecutorService threadpool, int[] designations)
Copyright © 2017. All rights reserved.