Skip to main content

Python wrapper for MOA to allow efficient use of existing algorithms with a more modern API.

Project description

CapyMOA

Banner Image

PyPi Version Join the Discord Documentation GitHub

Machine learning library tailored for data streams. Featuring a Python API tightly integrated with MOA (Stream Learners), PyTorch (Neural Networks), and scikit-learn (Machine Learning). CapyMOA provides a fast python interface to leverage the state-of-the-art algorithms in the field of data streams.

To setup CapyMOA, simply install it via pip. If you have any issues with the installation (like not having Java installed) or if you want GPU support, please refer to the installation guide. Once installed take a look at the tutorials to get started.

# CapyMOA requires Java. This checks if you have it installed
java -version

# CapyMOA requires PyTorch. This installs the CPU version
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu

# Install CapyMOA and its dependencies
pip install capymoa

# Check that the install worked
python -c "import capymoa; print(capymoa.__version__)"

⚠️ WARNING

CapyMOA is still in the early stages of development. The API is subject to change until version 1.0.0. If you encounter any issues, please report them in GitHub Issues or talk to us on Discord.


Benchmark Image Benchmark comparing CapyMOA against other data stream libraries. The benchmark was performed using an ensemble of 100 ARF learners trained on capymoa.datasets.RTG_2abrupt dataset containing 100,000 samples and 30 features. You can find the code to reproduce this benchmark in notebooks/benchmarking.py. CapyMOA has the speed of MOA with the flexibility of Python and the richness of Python's data science ecosystem.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capymoa-0.4.0.tar.gz (60.0 MB view details)

Uploaded Source

Built Distribution

capymoa-0.4.0-py3-none-any.whl (60.2 MB view details)

Uploaded Python 3

File details

Details for the file capymoa-0.4.0.tar.gz.

File metadata

  • Download URL: capymoa-0.4.0.tar.gz
  • Upload date:
  • Size: 60.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for capymoa-0.4.0.tar.gz
Algorithm Hash digest
SHA256 10c2a446d119fcbbae7a810c28e7f4931a185ee20d780d6eb371d7553406cc16
MD5 320d42e702b05c77d93f17f7455e28d1
BLAKE2b-256 74489e10ff73a90f7f0fc0bce04ffc7afa93923ba324a32a1522f833287cdb01

See more details on using hashes here.

File details

Details for the file capymoa-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: capymoa-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 60.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for capymoa-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7875505b0681a22cd378a2fa4e503ddd7baeb88e83cbd9aea553b11afda07e
MD5 72c392707372e1fb61892e39c08568e7
BLAKE2b-256 9a0a8eb7de4e7782578f4f8ecf106c5880b82a023c9a8939cc8de32511ab4681

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page