本代码通过使用python代码实现CART带后剪枝决策树,使用pydotplus库绘制决策树,其中.cvs为数据文件,.png为绘制决策树图形,推荐在anaconda中运行.py 文件
1