Skip to main content

Batch Prediction Pipeline

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

Check out this Medium article for more details about this module.

NOTE: Be careful to set the ML_PIPELINE_ROOT_DIR variable as explained in this section.

Metadata

Release files for batch-prediction-pipeline 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for batch-prediction-pipeline 0.1.0
File Size Uploaded
batch_prediction_pipeline-0.1.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for batch-prediction-pipeline 0.1.0
File Interpreter ABI Platform
batch_prediction_pipeline-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / batch_prediction_pipeline-0.1.0.tar.gz

Download URL batch_prediction_pipeline-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0d5a56da33dff01f1eb21acf0253d6e51a663670d1521dd4118450e10dc04a09
BLAKE2b-256 checksum
How to use checksums
c02052560832e3c0f93e05b26e22caf6c958deef1cdc4c3b1b6eaeddb7b3cc75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

Release files / batch_prediction_pipeline-0.1.0-py3-none-any.whl

Download URL batch_prediction_pipeline-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9734a7281177439e2aa37b6cfa14ba98cff71da31779ba6cf4669436c73b83a
BLAKE2b-256 checksum
How to use checksums
51315794c4bf791d5b31ca4c8cfe603a590b8621e099c99364519ae526803308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page