Skip to content

mhahsler/streamMOA

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

R package streamMOA - Interface for MOA Stream Clustering Algorithms

CRAN version stream r-universe status CRAN RStudio mirror downloads

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 = "https://mhahsler.r-universe.dev")

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)

Further Information

About

Interface for data stream clustering algorithms implemented in the MOA (Massive Online Analysis) framework.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published