Interface for data stream clustering algorithms implemented in the MOA (Massive Online Analysis) framework. This is an extension package for stream.
install_git("mhahsler/streamMOA")
(needs
devtools)> library("streamMOA")
R# 3 clusters with 5% noise
> stream <- DSD_Gaussians(k=3, d=2, noise=.05)
R
# cluster with CluStream
> clustream <- DSC_CluStream(m=50, k=3)
R> update(clustream, stream, 500)
R> clustream
R+ k-Means (weighted)
CluStream : DSC_TwoStage, DSC_Macro, DSC
Class-clusters: 50
Number of micro-clusters: 3
Number of macro
# plot micro-clusters
> plot(clustream, stream, type = "both") R