hookeai.model_architectures.procedures.model_prediction

Procedures associated to model prediction.

Functions

make_predictions_subdir

Create model predictions subdirectory.

save_sample_predictions

Save model prediction results for given sample.

load_sample_predictions

Load model prediction results for given sample.

write_prediction_summary_file

Write summary data file for model prediction process.

plot_time_series_prediction

Plot time series predictions.

plot_truth_vs_prediction

Plot ground-truth versus predictions.

Functions

load_sample_predictions(sample_prediction_path)

Load model prediction results for given sample.

make_directory(directory[, is_overwrite])

Create a directory.

make_predictions_subdir(predict_directory)

Create model predictions subdirectory.

plot_time_series_prediction(prediction_sets)

Plot time series predictions.

plot_truth_vs_prediction(prediction_sets[, ...])

Plot ground-truth versus predictions.

plot_xny_data(data_xy_list[, range_type, ...])

Plot data in xy axes with given range of y-values for each x-value.

plot_xy_data(data_xy[, data_labels, ...])

Plot data in xy axes.

save_figure(figure, filename[, height, ...])

Save Matplotlib figure.

save_sample_predictions(predictions_dir, ...)

Save model prediction results for given sample.

scatter_xy_data(data_xy[, data_labels, ...])

Scatter data in xy axes.

write_prediction_summary_file(...)

Write summary data file for model prediction process.

write_summary_file(summary_directory[, ...])

Write summary data file with provided keyword-based parameters.