• Book
  • News
  • Downloads
    • Datasets
    • Github
    • Extensions
    • Related
  • Community
    • Team
    • Publications
  • Documentation
    • Getting Started
    • Tutorial 1: Introduction to MOA
    • Tutorial 2: Introduction to the API of MOA
    • Tutorial 3: Introduction to MOA Clustering
    • Tutorial 4: Introduction to ADAMS and MOA
    • Tutorial 5: Simulating Concept Drift in MOA
    • KDD 2017 Hands-on Tutorial
    • About
      • Classification
      • Stream Clustering
      • Outlier Detection
      • Recommender Systems
MOA MOA
  • Book
  • News
  • Downloads
    • Datasets
    • Github
    • Extensions
    • Related
  • Community
    • Team
    • Publications
  • Documentation
    • Getting Started
    • Tutorial 1: Introduction to MOA
    • Tutorial 2: Introduction to the API of MOA
    • Tutorial 3: Introduction to MOA Clustering
    • Tutorial 4: Introduction to ADAMS and MOA
    • Tutorial 5: Simulating Concept Drift in MOA
    • KDD 2017 Hands-on Tutorial
    • About
      • Classification
      • Stream Clustering
      • Outlier Detection
      • Recommender Systems

Using MOA’s API with Scala


As Scala runs in the Java Virtual Machine, it is very easy to use MOA objects from Scala.

Let’s see an example: the Java code of the first example in Tutorial 2.

In Scala, the same code will be as follows:

As you can see, it is very easy to use MOA objects from Scala.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)

Posted by moa

View all posts by moa

News

  • How to use Jupyter Notebooks with MOA
  • Online Comments Available for the MOA Book
  • New Release of MOA 18.06
  • Using MOA interactively with the new Java Shell tool
  • Active Learning Tab
Follow @moadatamining Tweet Tweet to @moadatamining
  • Book
  • News
  • Downloads
  • Community
  • Documentation
© 2019 MOA . Bento theme by Satori