Pipeline Methods¶
The pipeline methods are the blocks that construct the end-user request flow
API request flow through the four functions¶
load_model¶
-
pipeline.load_model()¶ Load model and its assets to memory
- Returns
Model, will be used by the predict and process functions
verify_input¶
-
pipeline.verify_input(json_data)¶ Verifies the validity of an API request content
- Parameters
json_data (dict) – Parsed JSON accepted from API call
- Returns
Data for the the process function