Compute the centroid of a Microcluster.
Compute the centroid of a Microcluster.
an instance representing the centroid
Insert an instance into the microcluster.
Insert an instance into the microcluster.
the Instance which needs a class predicted
the timestamp of the Instance
the new MicroCluster
Merges two microclusters together.
Merges two microclusters together.
the MicroCluster which gets added
the new MicroCluster
Compute the RMSE of a microcluster.
Compute the RMSE of a microcluster.
the RMSE of a microcluster
Compute the threshold timestamp of the microcluster.
Compute the threshold timestamp of the microcluster.
the threshold timestamp
Return the microcluster as a weighted Example, containing the centroid and the number of elements.
Return the microcluster as a weighted Example, containing the centroid and the number of elements.
the output Example
A MicroCluster contains the underlying structure for the Clustream processing framework, and summarizes a number of instances belonging to the same MicroCluster. It is composed of: - the number of instance - the sum of instances - the sum of squared instance - the sum of timestamps - the squared sum of timestamps.