机器学习之八大算法⑧——决策树(回归树DecisionTreeRegressor)
回归树代码及注释import numpy as npimport matplotlib.pyplot as pltfrom sklearn.tree import DecisionTreeRegressor #调用回归树模型plt.rcParams['font.sans-serif'] = ['SimHei']plt.rcParams['axes.unicode_minus'] = ...