|
| 1 | +# MOA (CapyMOA Edition) |
| 2 | + |
| 3 | +This is a fork of the [Waikato/moa](https://github.com/Waikato/moa) repository that is |
| 4 | +packaged with CapyMOA providing additional functionality to MOA and better integration |
| 5 | +with CapyMOA. |
| 6 | + |
| 7 | +A long term project goal is to merge all CapyMOA changes back into the upstream |
| 8 | +`Waikato/moa:master` branch. This will be an iterative process and much slower than |
| 9 | +CapyMOA development. For now, this fork exists to facilitate CapyMOA development without |
| 10 | +blocking on upstream MOA changes. Changes from this branch shall be cherry-picked into |
| 11 | +upstream MOA as appropriate. This fork shall then be rebased on-top of the latest MOA |
| 12 | +upstream changes periodically. |
| 13 | + |
| 14 | +To create a pull request into MOA CapyMOA edition branch, create a PR from your feature |
| 15 | +branch into `adaptive-machine-learning/moa:capymoa`: |
| 16 | + |
| 17 | + |
| 18 | +To build MOA for use with CapyMOA run: |
| 19 | +```bash |
| 20 | +cd moa |
| 21 | +mvn package -DskipTests -Dmaven.javadoc.skip=true -Dlatex.skipBuild=true |
| 22 | +``` |
| 23 | +This will create a `target/moa-*-jar-with-dependencies.jar` file that can be used by |
| 24 | +CapyMOA. To let CapyMOA know where this file is, set the `CAPYMOA_MOA_JAR` environment |
| 25 | +variable to the path of this file. |
| 26 | + |
| 27 | +You can do this temporarily in your terminal session with: |
| 28 | +```bash |
| 29 | +export CAPYMOA_MOA_JAR=/path/to/moa/target/moa-*-jar-with-dependencies.jar |
| 30 | +``` |
| 31 | +To check that CapyMOA can find MOA, run: |
| 32 | +```bash |
| 33 | +python -c "import capymoa; capymoa.about()" |
| 34 | +# CapyMOA 0.10.0 |
| 35 | +# CAPYMOA_DATASETS_DIR: .../datasets |
| 36 | +# CAPYMOA_MOA_JAR: .../moa/moa/target/moa-2024.07.2-SNAPSHOT-jar-with-dependencies.jar |
| 37 | +# CAPYMOA_JVM_ARGS: ['-Xmx8g', '-Xss10M'] |
| 38 | +# JAVA_HOME: /usr/lib/jvm/java-21-openjdk |
| 39 | +# MOA version: aa955ebbcbd99e9e1d19ab16582e3e5a6fca5801ba250e4d164c16a89cf798ea |
| 40 | +# JAVA version: 21.0.7 |
| 41 | +``` |
| 42 | + |
| 43 | + |
1 | 44 | # MOA (Massive Online Analysis) |
2 | 45 | [](https://travis-ci.org/Waikato/moa) |
3 | 46 | [](https://mvnrepository.com/artifact/nz.ac.waikato.cms) |
|
0 commit comments