streamMOA - Interface for MOA Stream Clustering Algorithms - R package
Interface for data stream clustering algorithms implemented in the MOA (Massive Online Analysis) framework. This is an extension package for stream.
Installation
- Stable CRAN version: install from within R.
- Current development version: Download package from AppVeyor or install via
install_git("mhahsler/streamMOA")
(needs devtools)
Example
R> library("streamMOA")
# 3 clusters with 5% noise
R> stream <- DSD_Gaussians(k=3, d=2, noise=.05)
# cluster with CluStream
R> clustream <- DSC_CluStream(m=50, k=3)
R> update(clustream, stream, 500)
R> clustream
CluStream + k-Means (weighted)
Class: DSC_TwoStage, DSC_Macro, DSC
Number of micro-clusters: 50
Number of macro-clusters: 3
# plot micro-clusters
R> plot(clustream, stream, type = "both")
Further Information
- streamMOA package vignette with complete examples.
- Reference manual