def reload(self): """Loads model from joblib file on disk.""" self.model = load_from_disk(self.get_model_filename(self.model_dir))
def reload(self): """Loads scikit-learn model from joblib file on disk.""" self.model_instance = load_from_disk( self.get_model_filename(self.model_dir))