Predict

This module intends to facilitate how the user will define their prediction pipelines.

PredictPipeline

This is the standard Prediction Pipeline class, mainly designed for batch prediction jobs. In case the user wants to extend to their own needs, they can extend the base Pipelineclass and implement all abstract methods instead.

To make it clear how easy it can be to use this module, here is an example of what a predict.py module would look like:

from pyiris.intelligence.predict.predict_pipeline import PredictPipeline

pipeline = PredictPipeline(
        model_name="my_registered_model",
        model_stage="Production",
        features_path="Iris/Intelligence/Features",
        output_path="Iris/Intelligence/Outputs",
)


if __name__ == "__main__":
    pipeline.run()