org.apache.spark.streamdm.clusterers.clusters.TreeCoreset
Select a new centre from the leaf node for splitting.
Select a new centre from the leaf node for splitting.
the new centre
Compute the distance between the given point and the leaf centre.
Compute the distance between the given point and the leaf centre.
the given Example point
the distance between the point and the leaf centre
Compute the leaf node cost attribute, which is the sum of the squared distances over all points associated with the leaf node to its centre.
Compute the leaf node cost attribute, which is the sum of the squared distances over all points associated with the leaf node to its centre.
a new leaf node with the computed cost value
CoresetTreeLeaf node data structure. A leaf does not have any children.