![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
From Star.
I'm going on an adventure!
展开
-
机器学习项目:房价预测
XGBoost回归预测import pandas as pdfrom sklearn.model_selection import train_test_split # 导入数据分割函数库from sklearn.model_selection import cross_val_scorefrom sklearn.metrics import mean_absolute_error # 导入误差计算函数库from sklearn.impute import SimpleImputer # 导入.原创 2021-04-11 20:20:28 · 876 阅读 · 0 评论 -
机器学习项目:泰坦尼克号幸存者预测
随机森林分类模型import pandas as pdfrom sklearn.ensemble import RandomForestClassifierfrom sklearn.model_selection import cross_val_scorefrom sklearn import preprocessing# 导入数据train_data = pd.read_csv(r"D:\xio习\python\python数据分析\案例\泰坦尼克\data\train.csv")t.原创 2021-04-11 20:15:36 · 658 阅读 · 0 评论