Book Image

Java Data Science Cookbook

By : Rushdi Shams
Book Image

Java Data Science Cookbook

By: Rushdi Shams

Overview of this book

If you are looking to build data science models that are good for production, Java has come to the rescue. With the aid of strong libraries such as MLlib, Weka, DL4j, and more, you can efficiently perform all the data science tasks you need to. This unique book provides modern recipes to solve your common and not-so-common data science-related problems. We start with recipes to help you obtain, clean, index, and search data. Then you will learn a variety of techniques to analyze, learn from, and retrieve information from data. You will also understand how to handle big data, learn deeply from data, and visualize data. Finally, you will work through unique recipes that solve your problems while taking data science to production, writing distributed data science applications, and much more - things that will come in handy at work.
Table of Contents (16 chapters)
Java Data Science Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Classifying data points using Massive Online Analysis (MOA)


Massive Online Analysis or MOA is related to Weka, but it comes with more scalability. It is a notable Java workbench for data stream mining. With a strong community in place, MOA has implementations of classification, clustering, regression, concept drift identification, and recommender systems. Among other key advantages of MOA are its capability of being extended by the developers and its capacity of having bi-directional interactions with Weka.

Getting ready

In order to perform this recipe, we would require the following:

  1. MOA can be downloaded from https://sourceforge.net/projects/moa-datastream/, which eventually is accessible from the MOA getting started webpage at http://moa.cms.waikato.ac.nz/getting-started/:

    This will download a zip file named moa-release-2016.04.zip to your system. Save it anywhere you like.

  2. Once downloaded, extract the files. You will see files and folders as follows:

  3. You will need to put the moa.jar file...