public final class MeanShiftClustering extends Object
| Constructor and Description |
|---|
MeanShiftClustering() |
| Modifier and Type | Method and Description |
|---|---|
static List<de.jungblut.math.DoubleVector> |
cluster(List<de.jungblut.math.DoubleVector> points,
double windowSize,
double mergeWindow,
int maxIterations,
boolean verbose)
Clusters a bunch of given points using the Mean Shift algorithm.
|
public static List<de.jungblut.math.DoubleVector> cluster(List<de.jungblut.math.DoubleVector> points, double windowSize, double mergeWindow, int maxIterations, boolean verbose)
points - the points to cluster.windowSize - the window size to observe points arround the center in.
This is also used to observe initial centers.mergeWindow - the merge window size, if a pair of centers is within
this mergeWindow the centers are merged together.maxIterations - the maximum number of iterations to do before
breaking.verbose - if true, progress will be reported after each iteration.Copyright © 2016. All rights reserved.