2020年3月17日

Task 1 - Sentiment Analysis on Movie Reviews

摘要: ```python''' 0 - negative 1 - somewhat negative 2 - neutral 3 - somewhat positive 4 - positive'''import numpy as npimport pandas as pdfrom sklearn.feature_extraction.text import CountVectorizerfrom sk... 阅读全文

posted @ 2020-03-17 19:43 HolaWorld 阅读(462) 评论(0) 推荐(0) 编辑

文本向量化 - 词袋模型, N-gram 特征

摘要: CountVectorizer和TfidfVectorizer的参数:https://blog.csdn.net/du_qi/article/details/51564303 stopwords:https://www.cnblogs.com/webRobot/p/6079919.html 阅读全文

posted @ 2020-03-17 14:25 HolaWorld 阅读(332) 评论(0) 推荐(0) 编辑

导航