How to use Jupyter Notebooks with MOA

Jupyter notebooks are a new increasingly popular way of doing data science. They are documents that contain both computer code (e.g. python, java) and rich text elements (paragraph, equations, figures, links, etc…). Jupyter notebook documents are both human-readable documents containing the analysis description and the results (figures, tables, etc..) as well as executable documents which can be run to perform data analysis.

Now, it is possible to create Jupyter notebooks with MOA, using a Java kernel, like the IJava kernel.

This is a Jupyter notebook example that you can execute and modify online:

The source code is in github:

Here, you can find its nbviewer visualization: