Your whole ML pipeline in one YAML file.
Project description
yaml-ML
yaml_ml streamlines machine learning workflows by letting you
define data preprocessing, model training,
and evaluation in one YAML file. Automate your ML pipeline with minimal code.
Have a look at the GitHub repo for detailed description and usage examples: yaml-ML.
1. Installation
Create a virtual environment (e.g. with conda), activate it and upgrade pip:
conda create --name yaml_ml_env
conda activate yaml_ml_env
pip install --upgrade pip
Then install the package:
pip install yaml-ml
2. Usage
With one configuration file
First, create a YAML configuration file: see docs.
Then, after having activated the environment where yaml_ml is installed, run the command:
python -m yaml_ml --cfg path/to/your/config/yaml/file
With multiple configuration files
In case you want to test different configurations, create corresponding YAML files
and put them in a unique folder.
To launch all the corresponding pipelines in parallel using multiprocessing with N worker processes, run the command:
python -m yaml_ml --cfg path/to/your/configs/folder --n_processes N
N.B:
Without providing the --n_processes argument, pipelines will be launched sequentially.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yaml_ml-1.0.0.tar.gz.
File metadata
- Download URL: yaml_ml-1.0.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f283477a7beacb2582bf9bd95aa42f821ec8ed92635bc82334ec65b2de755b
|
|
| MD5 |
ae9fdfcf2a820b24d7dff116ff2bfe70
|
|
| BLAKE2b-256 |
60cb9774be03c6df5ad60fe47e9c3dde5dad39eeabdd416b461f07a410717cf3
|
File details
Details for the file yaml_ml-1.0.0-py3-none-any.whl.
File metadata
- Download URL: yaml_ml-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1a3062935387cc2c4b8b0e483fd7a36148b4bd5d6c99f7786f10e880e55cfb0
|
|
| MD5 |
2cdba0195c30e65f0383e4008d5d33c6
|
|
| BLAKE2b-256 |
39fe7da6529ba8af5c13a66d1de359b6ed10e899b787c047c4f7e125f9d5d543
|