Need help with streamDM?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

464 Stars 146 Forks Apache License 2.0 532 Commits 3 Opened issues


Stream Data Mining Library for Spark Streaming

Services available


Need anything else?

Contributors list

streamDM for Spark Streaming

streamDM is a new open source software for mining big data streams using Spark Streaming, started at Huawei Noah's Ark Lab. streamDM is licensed under Apache Software License v2.0.

Big Data Stream Learning

Big Data stream learning is more challenging than batch or offline learning, since the data may not keep the same distribution over the lifetime of the stream. Moreover, each example coming in a stream can only be processed once, or they need to be summarized with a small memory footprint, and the learning algorithms must be very efficient.

Spark Streaming

Spark Streaming is an extension of the core Spark API that enables stream processing from a variety of sources. Spark is a extensible and programmable framework for massive distributed processing of datasets, called Resilient Distributed Datasets (RDD). Spark Streaming receives input data streams and divides the data into batches, which are then processed by the Spark engine to generate the results.

Spark Streaming data is organized into a sequence of DStreams, represented internally as a sequence of RDDs.

Included Methods

In this current release of StreamDM v0.2, we have implemented:

we also implemented following data generators:

  • HyperplaneGenerator
  • RandomTreeGenerator
  • RandomRBFGenerator
  • RandomRBFEventsGenerator

We have also implemented SampleDataWriter, which can call data generators to create sample data for simulation or test.

In the next release of streamDM, we are going to add:

  • Classification: Random Forests
  • Multi-label: Hoeffding Tree ML, Random Forests ML
  • Frequent Itemset Miner: IncMine

For future works, we are considering: * Regression: Hoeffding Regression Tree, Bagging, Random Forests * Clustering: Clustree, DenStream * Frequent Itemset Miner: IncSecMine

Going Further

For a quick introduction to running StreamDM, refer to the Getting Started document. The StreamDM Programming Guide presents a detailed view of StreamDM. The full API documentation can be consulted here.


  • Spark 2.3.2
  • Scala 2.11
  • SBT 0.13
  • Java 8+

Mailing lists

User support and questions mailing list:

[email protected]

Development related discussions:

[email protected]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.