Skip to main content

ezmsg namespace package for machine learning

Project description

ezmsg-learn

This repository contains a Python package with modules for machine learning (ML)-related processing in the ezmsg framework. As ezmsg is intended primarily for processing unbounded streaming signals, so are the modules in this repo.

If you are only interested in offline analysis without concern for reproducibility in online applications, then you should probably look elsewhere.

Processing units include dimensionality reduction, linear regression, and classification that can be initialized with known weights, or adapted on-the-fly with incoming (labeled) data. Machine-learning code depends on river, scikit-learn, numpy, and torch.

Installation

Install from PyPI:

pip install ezmsg-learn

Or install the latest development version:

pip install git+https://github.com/ezmsg-org/ezmsg-learn@dev

Dependencies

  • ezmsg
  • ezmsg-baseproc
  • ezmsg-sigproc
  • numpy
  • scipy
  • scikit-learn
  • river

Development

We use uv for development.

  1. Install uv if not already installed.
  2. Fork this repository and clone your fork locally.
  3. Open a terminal and cd to the cloned folder.
  4. Run uv sync to create a .venv and install dependencies.
  5. (Optional) Install pre-commit hooks: uv run pre-commit install
  6. After making changes, run the test suite: uv run pytest tests

License

MIT License - see LICENSE for details.

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

ezmsg_learn-1.5.4.tar.gz (88.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezmsg_learn-1.5.4-py3-none-any.whl (65.4 kB view details)

Uploaded Python 3

File details

Details for the file ezmsg_learn-1.5.4.tar.gz.

File metadata

  • Download URL: ezmsg_learn-1.5.4.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ezmsg_learn-1.5.4.tar.gz
Algorithm Hash digest
SHA256 d928dcc0d187bfd6b39f9f15547bb8928a0a84714ff0497b3e9df3337f7f1e1a
MD5 a711482d2907e658bba758696e2cc685
BLAKE2b-256 8a2f7f09995d26b75ce5bae8a38d2654d8301dc349fd4ddf77e8e3d6b307e51a

See more details on using hashes here.

File details

Details for the file ezmsg_learn-1.5.4-py3-none-any.whl.

File metadata

  • Download URL: ezmsg_learn-1.5.4-py3-none-any.whl
  • Upload date:
  • Size: 65.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ezmsg_learn-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8feb2f456366635125d2085b1d6e2f311eb5cc4159a4842ff6bdd4dbf8152b5f
MD5 b5b06adb7b3d1902f8aea98b04382259
BLAKE2b-256 12d6e49544135f812205c926eca9d3181da66ab43bf06d73359a5dea8104daab

See more details on using hashes here.

Supported by

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