Skip to Content
Machine Learning in Java - Second Edition
book

Machine Learning in Java - Second Edition

by AshishSingh Bhatia, Bostjan Kaluza
November 2018
Intermediate to advanced
300 pages
7h 42m
English
Packt Publishing
Content preview from Machine Learning in Java - Second Edition

Regression using MOA

Using MOA for regression requires us to use the GUI. You can download the dataset from http://www.cs.waikato.ac.nz/~bernhard/halifax17/census.arff.gz.

The following steps show how to perform regression:

  1. Launch the MOA GUI by using the following command:
$ java -cp moa.jar -javaagent:sizeofag-1.0.4.jar moa.gui.GUI
  1. Select the Regression tab and click on Configure, as shown in the following screenshot:

  1. We will use the downloaded .arff file for regression. When we click on Configure in the preceding step, it will display the Configure task window, as shown in the following screenshot:
  1. In the stream option, click on ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Java Machine Learning

Mastering Java Machine Learning

Uday Kamath, Krishna Choppella
Java: Data Science Made Easy

Java: Data Science Made Easy

Richard M. Reese, Jennifer L. Reese, Alexey Grigorev

Publisher Resources

ISBN: 9781788474399Supplemental Content