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 ...

Get Machine Learning in Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.