Training Pipeline
Check out Lesson 2 on Medium to better understand how we built the training pipeline.
Install for Development
Create virtual environment:
cd training-pipeline
poetry shell
poetry install
Check the Set Up Additional Tools and Usage sections to see how to set up the additional tools and credentials you need to run this project.
Usage for Development
Run the scripts in the following order:
- Start the hyperparameter tuning script:
python -m training_pipeline.hyperparameter_tuning
- Upload the best config based on the previous hyperparameter tuning step:
python -m training_pipeline.best_config
- Start the training script using the best configuration uploaded one step before:
python -m training_pipeline.train
NOTE: Be careful to complete the .env file and set the ML_PIPELINE_ROOT_DIR variable as explained in the Set Up the ML_PIPELINE_ROOT_DIR Variable section of the main README.
Metadata
Release files for cat-spend-training-pipeline 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cat_spend_training_pipeline-0.1.1.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cat_spend_training_pipeline-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.2 kB
Release files / cat_spend_training_pipeline-0.1.1.tar.gz
| Download URL | cat_spend_training_pipeline-0.1.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7adaec49bfc1baa11d67cd9ecf47fb7e846e2869fed2211fb2f422ec691a5abb
|
|
BLAKE2b-256 checksum How to use checksums |
61512ffa54c714a34ec03c9f562efc52911de14d61a5cc0716e56223cc353bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.9.18 Darwin/19.6.0
|
Release files / cat_spend_training_pipeline-0.1.1-py3-none-any.whl
| Download URL | cat_spend_training_pipeline-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffa7c36fb836d97179415a8a7ec258ea1c541ee88e7fc8a74af0de9663171a89
|
|
BLAKE2b-256 checksum How to use checksums |
8b100595033d15af560aa5a0fc1df8bb534a17f200901f776585e4feef51096a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.9.18 Darwin/19.6.0
|