DecisionTrees.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:a-cadmci 作者: florez87 项目源码 文件源码
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')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号