jupyter notebook使用jieba+word2vec+KNN,LR,NB,SVM,XGBoost进行过文本二分类
运行环境:jupyternotebook语言:python首先导入一些包importnumpyasnpimportpandasaspdimportjieba,timeimportgensimfromsklearn.preprocessingimportStandardScalerimportseabornassns读取数据文件:train_df=pd.read_csv(open('baoyu_tr