Package | Description |
---|---|
moa.clusterers.streamkm |
Modifier and Type | Field and Description |
---|---|
protected Point[] |
StreamKM.centresStreamingCoreset |
Modifier and Type | Method and Description |
---|---|
Point |
Point.clone() |
Modifier and Type | Method and Description |
---|---|
double |
Point.costOfPoint(int k,
Point[] centres)
Computes the cost of this point with the given array of centres centres[] (of size k)
|
double |
Point.costOfPointToCenter(Point centre)
Computes the cost of this point with centre centre
|
int |
Point.determineClusterCentreKMeans(int k,
Point[] centres)
Computes the index of the centre nearest to this point with the given array of centres centres[] (of size k)
|
double |
StreamKM.lloydPlusPlus(int k,
int n,
int d,
Point[] points,
Point[] centres) |
double |
StreamKM.lloydPlusPlus(int k,
int n,
int d,
Point[] points,
Point[] centres) |
double |
StreamKM.targetFunctionValue(int k,
int n,
Point[] centres,
Point[] points)
computes the target function for the given pointarray points[] (of size n) with the given array of
centres centres[] (of size k)
|
double |
StreamKM.targetFunctionValue(int k,
int n,
Point[] centres,
Point[] points)
computes the target function for the given pointarray points[] (of size n) with the given array of
centres centres[] (of size k)
|
Constructor and Description |
---|
TreeCoreset.treeNode(int n,
Point[] points,
Point centre,
TreeCoreset.treeNode parent) |
TreeCoreset.treeNode(int n,
Point[] points,
Point centre,
TreeCoreset.treeNode parent) |
TreeCoreset.treeNode(Point[] setA,
Point[] setB,
int n_1,
int n_2,
Point centre,
int centreIndex)
initalizes root as a treenode with the union of setA and setB as pointset and centre as centre
|
TreeCoreset.treeNode(Point[] setA,
Point[] setB,
int n_1,
int n_2,
Point centre,
int centreIndex)
initalizes root as a treenode with the union of setA and setB as pointset and centre as centre
|
TreeCoreset.treeNode(Point[] setA,
Point[] setB,
int n_1,
int n_2,
Point centre,
int centreIndex)
initalizes root as a treenode with the union of setA and setB as pointset and centre as centre
|
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.