def load(self, path):
"""
Load a model and it's classes with joblib and pickle.
Parameters
----------
path: string
The location of the persistence directory from which model and classes will be loaded.
Returns
----------
None
"""
self.model = joblib.load(path + 'tree.pkl')
self.classes = joblib.load(path + 'classes.pkl')
评论列表
文章目录