Code Documentation: MAST-ML Predictor

mastml.mastml_predictor Module

This module contains methods for easily making new predictions on test data once a suitable model has been trained. Also available is output of calibrated uncertainties for each prediction.

make_prediction:

Method used to take a saved preprocessor, model and calibration file and output predictions and calibrated uncertainties on new test data.

Functions

make_prediction(X_test, model[, ...])

Method used to take a saved preprocessor, model and calibration file and output predictions and calibrated uncertainties on new test data

make_prediction_dlhub(input_dict)

Prediction script, same functionality as make_prediction above, but tailored for model running on DLHub/Foundry