Make Predictions¶
Large helper method for driving all AI-related tasks.
Handles running:
- Building Models
- Compiling Models
- Creating Datasets for Train, Test, and Predictions
- Fitting Models
- Evaluating Models
- Cross Validating Models
- Merging Predictions with Original Records
Here is the file on GitHub in case the automodule
failed to process:
-
antinex_utils.make_predictions.
build_regression_dnn
(num_features, compile_data, label='', model_json=None, model_desc=None)[source]¶ Parameters: - num_features – input_dim for the number of features in the data
- compile_data – dictionary of compile options
- label – log label for tracking this method
- model_json – keras model json to build the model
- model_desc – optional dictionary for model
-
antinex_utils.make_predictions.
build_classification_dnn
(num_features, compile_data, label='', model_json=None, model_desc=None)[source]¶ Parameters: - num_features – input_dim for the number of features in the data
- compile_data – dictionary of compile options
- label – log label for tracking this method
- model_json – keras model json to build the model
- model_desc – optional dictionary for model
-
antinex_utils.make_predictions.
check_request
(req)[source]¶ Parameters: req – dictionary to check values