热线电话:13121318867

登录
2019-07-08 阅读量: 369
python如何在决策树回归模型中预测新值

python如何在决策树回归模型中预测新值

# predicting a new value

# test the output by changing values, like 3750

y_pred = regressor.predict(3750)

# print the predicted price

print("Predicted price: % d\n"% y_pred)

0.0000
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子