ML之回归预测:利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集回归预测(模型评估、推理并导到csv)


懦弱方心情
懦弱方心情 2022-09-19 12:15:59 48936
分类专栏: 资讯

ML之回归预测:利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集【13+1,506】回归预测(模型评估、推理并导到csv)

目录

利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集【13+1,506】回归预测(模型评估、推理并导到csv)

输出数据集

1、LiR 线性回归算法

2、kNNR k最近邻算法

3、SVMR 支持向量机算法

4、DTR 决策树算法

5、RFR 随机森林算法

6、ExtraTR 极端随机树算法

7、SGDR 随机梯度上升算法

8、GBR 提升树算法

9、LightGBMR 算法

10、XGBR 算法

模型评估效果综合比较

模型推理预测综合比较


相关文章
ML之回归预测:利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集回归预测(模型评估、推理并导到csv)
ML之回归预测:利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集回归预测(模型评估、推理并导到csv)实现

利用十类机器学习算法(线性回归、kNN、SVM、决策树、随机森林、极端随机树、SGD、提升树、LightGBM、XGBoost)对波士顿数据集【13+1,506】回归预测(模型评估、推理并导到csv)

输出数据集

  1. 数据集的描述:
  2. .. _boston_dataset:
  3. Boston house prices dataset
  4. ---------------------------
  5. **Data Set Characteristics:**
  6. :Number of Instances: 506
  7. :Number of Attributes: 13 numeric/categorical predictive. Median Value (attribute 14) is usually the target.
  8. :Attribute Information (in order):
  9. - CRIM per capita crime rate by town
  10. - ZN proportion of residential land zoned for lots over 25,000 sq.ft.
  11. - INDUS proportion of non-retail business acres per town
  12. - CHAS Charles River dummy variable (= 1 if tract bounds river; 0 otherwise)
  13. - NOX nitric oxides concentration (parts per 10 million)
  14. - RM average number of rooms per dwelling
  15. - AGE proportion of owner-occupied units built prior to 1940
  16. - DIS weighted distances to five Boston employment centres
  17. - RAD index of accessibility to radial highways
  18. - TAX full-value property-tax rate per $10,000
  19. - PTRATIO pupil-teacher ratio by town
  20. - B 1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town
  21. - LSTAT % lower status of the population
  22. - MEDV Median value of owner-occupied homes in $1000's
  23. :Missing Attribute Values: None
  24. :Creator: Harrison, D. and Rubinfeld, D.L.
  25. This is a copy of UCI ML housing dataset.
  26. https://archive.ics.uci.edu/ml/machine-learning-databases/housing/
  27. This dataset was taken from the StatLib library which is maintained at Carnegie Mellon University.
  28. The Boston house-price data of Harrison, D. and Rubinfeld, D.L. 'Hedonic
  29. prices and the demand for clean air', J. Environ. Economics & Management,
  30. vol.5, 81-102, 1978. Used in Belsley, Kuh & Welsch, 'Regression diagnostics
  31. ...', Wiley, 1980. N.B. Various transformations are used in the table on
  32. pages 244-261 of the latter.
  33. The Boston house-price data has been used in many machine learning papers that address regression
  34. problems.
  35. .. topic:: References
  36. - Belsley, Kuh & Welsch, 'Regression diagnostics: Identifying Influential Data and Sources of Collinearity', Wiley, 1980. 244-261.
  37. - Quinlan,R. (1993). Combining Instance-Based and Model-Based Learning. In Proceedings on the Tenth International Conference of Machine Learning, 236-243, University of Massachusetts, Amherst. Morgan Kaufmann.
  38. 数据的初步查验:输出回归目标值target的差异
  39. target_max 50.0
  40. target_min 5.0
  41. target_avg 22.532806324110677

1、LiR 线性回归算法

  1. LiR Score value: 0.6757955014529482
  2. LiR R2 value: 0.6757955014529482
  3. LiR MAE value: 3.5325325437053974
  4. LiR MSE value: 25.13923652035344

2、kNNR k最近邻算法

3、SVMR 支持向量机算法

4、DTR 决策树算法

5、RFR 随机森林算法

6、ExtraTR 极端随机树算法

7、SGDR 随机梯度上升算法

8、GBR 提升树算法

9、LightGBMR 算法

10、XGBR 算法

模型评估效果综合比较

模型推理预测综合比较

网站声明:如果转载,请联系本站管理员。否则一切后果自行承担。

本文链接:https://www.xckfsq.com/news/show.html?id=2297
赞同 0
评论 0 条
懦弱方心情L0
粉丝 0 发表 13 + 关注 私信
上周热门
如何使用 StarRocks 管理和优化数据湖中的数据?  2941
【软件正版化】软件正版化工作要点  2860
统信UOS试玩黑神话:悟空  2819
信刻光盘安全隔离与信息交换系统  2712
镜舟科技与中启乘数科技达成战略合作,共筑数据服务新生态  1246
grub引导程序无法找到指定设备和分区  1213
华为全联接大会2024丨软通动力分论坛精彩议程抢先看!  163
点击报名 | 京东2025校招进校行程预告  162
2024海洋能源产业融合发展论坛暨博览会同期活动-海洋能源与数字化智能化论坛成功举办  160
华为纯血鸿蒙正式版9月底见!但Mate 70的内情还得接着挖...  157
本周热议
我的信创开放社区兼职赚钱历程 40
今天你签到了吗? 27
信创开放社区邀请他人注册的具体步骤如下 15
如何玩转信创开放社区—从小白进阶到专家 15
方德桌面操作系统 14
我有15积分有什么用? 13
用抖音玩法闯信创开放社区——用平台宣传企业产品服务 13
如何让你先人一步获得悬赏问题信息?(创作者必看) 12
2024中国信创产业发展大会暨中国信息科技创新与应用博览会 9
中央国家机关政府采购中心:应当将CPU、操作系统符合安全可靠测评要求纳入采购需求 8

加入交流群

请使用微信扫一扫!