摘要: git: https://github.com/linyi0604/MachineLearning 数据集被我下载到本地,可以去我的git上拿数据集 XGBoost提升分类器 属于集成学习模型 把成百上千个分类准确率较低的树模型组合起来 不断迭代,每次迭代生成一颗新的树 下面 对泰坦尼克遇难预测使用 阅读全文
posted @ 2018-05-08 16:53 稀里糊涂林老冷 阅读(2282) 评论(0) 推荐(0) 编辑
摘要: git: https://github.com/linyi0604/MachineLearning 阅读全文
posted @ 2018-05-08 11:26 稀里糊涂林老冷 阅读(2422) 评论(0) 推荐(0) 编辑
摘要: git: https://github.com/linyi0604/MachineLearning分别使用词袋法和nltk自然预言处理包提供的文本特征提取 1 from sklearn.feature_extraction.text import CountVectorizer 2 import nltk 3 # nltk.download("punkt") 4 # nltk.downl... 阅读全文
posted @ 2018-05-08 10:24 稀里糊涂林老冷 阅读(3047) 评论(0) 推荐(0) 编辑