PYTHON建模——决策树用户分群 CART回归树图 from sklearn import tree import pydotplus from IPython.display import Image from six import StringIO Dtree = tree.DecisionTreeRegressor(max_depth=3,min_samples_leaf=500,min_samples_split=5000