Skip to main content

Utilities for data processing, model training, and analysis.

Project description

MLBoardKit

MLBoardKit Logo

A Python library that provides utilities for streamlined data processing, model training, and analysis tasks in machine learning workflows.

mlboardkit offers easy CLI commands and Python interfaces for dataset quality checks, format conversion, metric computation, plot generation, and model training — with support for popular frameworks and minimal setup.

License: MIT GitHub stars PyPI version

Install

# from source (editable)
pip install -e .

# from PyPI (published)
pip install mlboardkit

Quick start

# After installing mlboardkit, import via the mlboardkit namespace
from mlboardkit.data_utils.dataset_processor import main as dataset_processor_main
from mlboardkit.analysis_tools.metrics_utils import classification_report

report = classification_report([1,0,1], [1,0,0])

CLI via python -m:

python -m mlboardkit.data_utils.dataset_processor quality-check dataset.csv --report report.json
python -m mlboardkit.data_utils.data_converter convert input.json output.csv --format csv
python -m mlboardkit.analysis_tools.plot_metrics training_log.json --plot-type training --output curves.png
python -m mlboardkit.model_utils.train_model --model-name bert-base-uncased --train-file train.jsonl --epochs 3

Python requirement: 3.9+

Full usage and CLI examples are in usage.md. Here is a demo notebook that demonstrates the usage of this library in a ML project.

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

mlboardkit-0.1.2.tar.gz (171.5 kB view details)

Uploaded Source

Built Distribution

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

mlboardkit-0.1.2-py3-none-any.whl (209.3 kB view details)

Uploaded Python 3

File details

Details for the file mlboardkit-0.1.2.tar.gz.

File metadata

  • Download URL: mlboardkit-0.1.2.tar.gz
  • Upload date:
  • Size: 171.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for mlboardkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9416102d68430bf29b2c7db83ff2719f191b709cea022f2407213828ebb32554
MD5 963d39dc97efeb879bb8afb4ba5b2106
BLAKE2b-256 0fa123881a6a6fc6cdf182bddfa45afedb4e16eec08ca644350b68f84c3562ad

See more details on using hashes here.

File details

Details for the file mlboardkit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mlboardkit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 209.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for mlboardkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ffe27685b2be64035c77da85082f9acc5cb37acd71f015132d5e1b924d219aa
MD5 1245a85720acb6c1bf2b25e119f96121
BLAKE2b-256 47918ac788faff0f7898661fb11ea1797a80931370aeb4480645f30c67e7e461

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