SmartPredictor Loader Function

This function allows users to load SmartPredictor object saved into a pickle.

load_smartpredictor module

shapash.utils.load_smartpredictor.load_smartpredictor(path)[source]

load_smartpredictor allows Shapash users to load SmartPredictor Object already saved into a pickle.

Parameters

path (str) – File path of the pickle file.

Example

>>> predictor = load_smartpredictor('path_to_pkl/predictor.pkl')