|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cloud9.example.clustering.KMeans
public class KMeans
| Constructor Summary | |
|---|---|
KMeans()
|
|
| Method Summary | |
|---|---|
static void |
dumpClusters(List<Point>[] clusters)
|
static List<Point>[] |
run(Point[] points,
int k)
Performs a k-means on the point set to compute k clusters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KMeans()
| Method Detail |
|---|
public static List<Point>[] run(Point[] points,
int k)
points - point setk - number of clusters
public static void dumpClusters(List<Point>[] clusters)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||