models.modelController.
ModelControllerClass
(config, models_folder_path)[source]¶Abstract class that every particular model-specific python file should inherit from in order to load the model.
Attributes: |
|
---|
Methods
load () |
Abstract method for loading models. |
process_input_data (data) |
Abstract method for processing input data to predict. |
get_formatted_prediction (prediction) |
Abstract method that returns beautified string to send to client |
feed (data) |
Abstract method returning preformatted prediction on given data. |
feed
(data)[source]¶Abstract method returning preformatted prediction on given data.
Parameters: |
|
---|---|
Returns: |
|