Skip to content

Commit

Permalink
Update tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alipsgh authored Feb 28, 2019
1 parent 1d55a61 commit 99b5ec8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

### 1. Set up MOA

First of all, we must download and then install a Java IDE such as [Eclipse](https://www.eclipse.org/downloads/), [NetBeans](https://netbeans.org/) and [IntelliJ IDEA](https://www.jetbrains.com/idea/download/). I use Eclipse for the purpose of this tutorial.
First of all, we must download and then install a Java IDE such as [Eclipse](https://www.eclipse.org/downloads/), [NetBeans](https://netbeans.org/) and [IntelliJ IDEA](https://www.jetbrains.com/idea/download/). I use Eclipse for this tutorial.
Once the IDE of choice is set up, we have to download the MOA framework from its [GitHub Repository](https://github.com/Waikato/moa), then import it into the IDE as a Maven project. In Eclipse, click on `File >> Import... >> Maven >> Existing Maven Project`. Then, click on `Next` and `Browse...` to find unzipped MOA, as follows:

<p align="center">
<img src="/img/01_maven_1.png" width="50%" />
<img src="/img/02_maven_2.png" width="50%" />
</p>

If you encounter a wizard for "Setup Maven plugin connectors", simply overlook it by clicking the `Finish` button. MOA's packages should be imported as below:
If you encounter a wizard for "Setup Maven plugin connectors", you can overlook it by clicking the `Finish` button. MOA's packages should be imported as below:

<p align="center">
<img src="/img/03_eclipse.png" width="60%" />
Expand All @@ -33,13 +33,13 @@ Everything is now ready for getting our hands dirty!

### 2. Add DDMs

We need to locate a relevant package and put our class in it, it is a simple drag-and-drop. As an example, for my `FHDDM` drift detector, we should add it under the `moa.classifiers.core.driftdetection` package.
We need to locate a relevant package and put our class in it; it is a simple drag-and-drop. As an example, for my `FHDDM` drift detector, we should add it under the `moa.classifiers.core.driftdetection` package.

<p align="center">
<img src="/img/07_FHDDM_1.png" width="60%" />
</p>

Once we run MOA again, we will see the added functionality. For example, in my `FHDDM` case, we have:
Once we rerun MOA, we will see the added functionality. For example, in my `FHDDM` case, we have:

<p align="center">
<img src="/img/08_FHDDM_2.png" width="50%" />
Expand Down

0 comments on commit 99b5ec8

Please sign in to comment.