No project description provided
Project description
Batch Prediction Pipeline
Check out Lesson 3 on Medium to better understand how we built the batch prediction pipeline.
Also, check out Lesson 5 to learn how we implemented the monitoring layer to compute the model's real-time performance.
Install for Development
The batch prediction pipeline uses the training pipeline module as a dependency. Thus, as a first step, we must ensure that the training pipeline module is published to our private PyPi server.
NOTE: Make sure that your private PyPi server is running. Check the Usage section if it isn't.
Build & publish the training-pipeline
to your private PyPi server:
cd training-pipeline
poetry build
poetry publish -r my-pypi
cd ..
Install the virtual environment for batch-prediction-pipeline
:
cd batch-prediction-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
To start batch prediction script, run:
python -m batch_prediction_pipeline.batch
To compute the monitoring metrics based, run the following:
python -m batch_prediction_pipeline.monitoring
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.
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
File details
Details for the file batch_prediction_pipeline_self-0.1.0.tar.gz
.
File metadata
- Download URL: batch_prediction_pipeline_self-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.12 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02b7c41f296e09265d96b98b95e1a8366260ca5adcd9c0afffee42970d20f14 |
|
MD5 | 9172d4aaf22c68d21a408b72b1273995 |
|
BLAKE2b-256 | dd6c37a694a14860a67807e14d5b5c8633a0812694145c47aa57f58d37f26d3c |
File details
Details for the file batch_prediction_pipeline_self-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: batch_prediction_pipeline_self-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.12 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f866595d64411acccf00e64796904f242276ec35b8255e5bb92c2c19f270fe5 |
|
MD5 | 1fd7ae739cbf8a4ed6e0185884e2a0ee |
|
BLAKE2b-256 | 1ff14f24979cac923159ca9c1cc57613f87f5c06eef7517a918f648846ba8f75 |