摘要: 微调后: Best score: 0.983Best parameters set: clf__C: 10 clf__penalty: 'l2' vect__max_df: 0.5 vect__max_features: None vect__ngram_range: (1, 2) vect__st 阅读全文
posted @ 2019-10-22 11:52 昕友软件开发 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: AdaBoost precision recall f1-score support 0 0.83 0.85 0.84 634 1 0.84 0.82 0.83 616 accuracy 0.83 1250 macro avg 0.83 0.83 0.83 1250weighted avg 0.83 阅读全文
posted @ 2019-10-22 11:16 昕友软件开发 阅读(1856) 评论(0) 推荐(0) 编辑
摘要: from sklearn.metrics import confusion_matrix import matplotlib.pyplot as plt y_test = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1] y_pred = [0, 1, 0, 0, 0, 0, 0, 1, 阅读全文
posted @ 2019-10-22 11:07 昕友软件开发 阅读(1649) 评论(0) 推荐(0) 编辑
欢迎访问我的开源项目:xyIM企业即时通讯