Interface for MOA Stream Clustering Algorithms

Interface for data stream clustering algorithms implemented in the MOA (Massive Online Analysis) framework (Albert Bifet, Geoff Holmes, Richard Kirkby, Bernhard Pfahringer (2010). MOA: Massive Online Analysis, Journal of Machine Learning Research 11: 1601-1604).


R package streamMOA - Interface for MOA Stream Clustering Algorithms

Package onCRAN CRAN RStudio mirrordownloads License r-universestatus

Maintainer: Michael Hahsler

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 with

install.packages("streamMOA")

Current development version: Install from r-universe.

install.packages("streamMOA",
    repos = c("https://mhahsler.r-universe.dev",
              "https://cloud.r-project.org/"))

Example

Create 3 clusters with 5% noise.

library(streamMOA)

stream <- DSD_Gaussians(k = 3, d = 2, noise = 0.05)

Cluster with CluStream.

clustream <- DSC_CluStream(m = 50, k = 3)
update(clustream, stream, 500)
clustream
## CluStream 
## Class: moa/clusterers/clustream/WithKmeans, DSC_MOA, DSC_Micro, DSC 
## Number of micro-clusters: 50 
## Number of macro-clusters: 3

Plot micro-clusters.

plot(clustream, stream)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("streamMOA")

1.4.0 by Michael Hahsler, 3 days ago


https://github.com/mhahsler/streamMOA, https://michael.hahsler.net/streamMOA/


Report a bug at https://github.com/mhahsler/streamMOA/issues


Browse source code at https://github.com/cran/streamMOA


Authors: Michael Hahsler [aut, cre, cph] (ORCID: , John Forrest [aut, cph] , Matthew Bolanos [ctb] , Matthias Carnein [ctb] , Dalibor Krleža [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports graphics, stats, methods, proxy

Depends on stream, rJava

Suggests testthat, knitr, rmarkdown

System requirements: Java (>= 8)


See at CRAN