Machine learning model utilities
Project description
bavard-ml-common
A package of common code and utilities for machine learning and MLOps. Includes classes and methods for:
- ML model serialization/deserialization
- Google Cloud Storage IO operations
- Converting an ML model into a runnable web service
- Common ML model evaluation utilities
- And more
Testing Locally
With Docker and docker-compose installed, run:
./scripts/lint-and-test-package.sh
Releasing The Package
Releasing the package is automatically handled by CI, but three steps must be taken to trigger a successful release:
- Increment the
VERSION
variable insetup.py
to the new desired version (e.g.VERSION="1.1.1"
) - Commit and tag the repo with the exact same value you populated the
VERSION
variable with (e.g.git tag 1.1.1
) - Push the commit and tag to remote. These can be done together using:
git push --atomic origin <branch name> <tag>
CI will then release the package to pypi with that version once the commit and tag are pushed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bavard-ml-common-0.0.15.tar.gz
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for bavard_ml_common-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c7a21c1d35886bc82d51d765502aab1a41b64d46c7d5e79132b93ba71a2047 |
|
MD5 | fd42456372b9de846b3a9cdea3fde9be |
|
BLAKE2b-256 | 4d9fb661319df1e314495a8dc3793c79160a9e6c21d6423ebe0d40de6a6d1332 |