Skip to main content

Pre-processing logic used for both model-training and model-service.

Project description

lib-ml

Contains the pre-processing logic for data that is used for training or queries.

• Factor out the pre-processing logic from the training pipeline.

• Fetch relevant dependencies through a package manager, e.g., by creating a separate requirements.txt. (DONE)

• The library is versioned automatically, e.g., by picking-up on the corresponding Git version tag. (DONE)

• A workflow is used to automatically release the library in a package registry that matches the language. (As stated before, this includes either supported package registries on GitHub or repository tags in languages that support it.) (DONE)

Usage

Install with

pip install remla24-team8-lib-ml

Use as

from lib_ml import DataProcessor 

data_processor = DataProcessor()

Publish a release

To publish a new release, simply create a new release in GitHub with the appropriate tag name. Be sure that this tag name matches the version in the pyproject.toml. GitHub Actions will then automatically release and publish this. If the release failed, then remove the tag while in the Git repo using git push origin --delete <tag name>, after which you can then re-release the (now draft) release on GitHub.

When using Poetry, you can also depend on the latest commit using the following dependency:

remla24-team8-lib-ml = { git = "https://github.com/remla24-team8/lib-ml.git", branch = "main" }

PyPi organization

For now it is owned by tmtenbrink on PyPI, but hopefully we get an organization so we can put it there.

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

remla24_team8_lib_ml-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

remla24_team8_lib_ml-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file remla24_team8_lib_ml-0.1.3.tar.gz.

File metadata

  • Download URL: remla24_team8_lib_ml-0.1.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for remla24_team8_lib_ml-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a3fd4392c4c1f27d788255d0c2d509fcb9c8ab7dbd5d331bc600456eb27a9b69
MD5 49033a1550969f96ab8042c15ee91b1d
BLAKE2b-256 1ad2ed457de9f8038710f94149e944570e81281a824419bfdf1dbf233bba10b0

See more details on using hashes here.

File details

Details for the file remla24_team8_lib_ml-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for remla24_team8_lib_ml-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 74ca21f6da540931b6084aed4b6f8a9933dbc6525c88f5cf4b1788929b768c20
MD5 98bbf84d3240ccbd77b5caa4cf8a8f07
BLAKE2b-256 c90d1eb96b9f5cc749d2d768f46646b25c6f370900be55bf70c01e65f97dcacb

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