DecisionTrees.py 文件源码

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

项目:a-cadmci 作者: florez87 项目源码 文件源码
def save(self, path):
        """
        Persist the model itself and it's classes with joblib and pickle.

        Parameters
        ----------
        path: string
            The location of the persistence directory where model and classes will be stored.

        Return
        ----------
        None
        """
        joblib.dump(self.model, path + 'tree.pkl')
        joblib.dump(self.classes, path + 'classes.pkl')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号