![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sklearn
zuolixiangfisher
有空一起钓鱼啊
展开
-
sklearn学习之XGBoost算法实践
model = XGBClassifier(learning_rate=0.01, n_estimators=10, # 树的个数-10棵树建立xgboost max_depth=3, # 树的深度 min_child_...原创 2020-02-14 16:25:49 · 551 阅读 · 0 评论 -
sklearn学习之LR算法实践
scikit-learn是python的一个机器学习算法集成模块,功能强大,包含了常见的逻辑回归,决策树,朴素贝叶斯,SVM等常见的机器学习算法。这里,用LR来做一下分类。import pandas as pdfrom sklearn.model_selection import train_test_splitfrom sklearn.preprocessing import Stand...原创 2020-02-13 15:22:35 · 3413 阅读 · 0 评论