Skip to content

Commit 41d7917

Browse files
docs: add README for CapyMOA edition
1 parent f630d4f commit 41d7917

3 files changed

Lines changed: 43 additions & 29 deletions

File tree

CapyMOA.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
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+
![CapyMOA](img/capymoa-pr.png)
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+
144
# MOA (Massive Online Analysis)
245
[![Build Status](https://travis-ci.org/Waikato/moa.svg?branch=master)](https://travis-ci.org/Waikato/moa)
346
[![Maven Central](https://img.shields.io/maven-central/v/nz.ac.waikato.cms.moa/moa-pom.svg)](https://mvnrepository.com/artifact/nz.ac.waikato.cms)

img/capymoa-pr.png

816 KB
Loading

0 commit comments

Comments
 (0)