issues Search Results · repo:AimeeLee77/senti_analysis language:Python
Filter by
12 results
(71 ms)12 results
inAimeeLee77/senti_analysis (press backspace or delete to remove)wanghuahua2019
- Opened on Jul 1, 2020
- #10
为何你在合并1000个评论变成一个合并文件2000_neg.txt或者2000_pos.txt的时候读取的都是每个文件的第一行呢? def getContent(fullname): f = codecs.open(fullname, r
) content = f.readline() f.close() return content readline()不是只读取了一行吗
gotogoal
- 1
- Opened on Jan 23, 2019
- #9
问题
Mac git clone 下来的评论语料乱码 如下所示
➜ neg git:(master) ✗ head neg.0.txt
����̫�� ���仹����3�ǵ� ������ʩ�dz��¾�.����Ƶ���ϵı�����¸���.
解决
#读取文件内容
def getContent(fullname):
- f = codecs.open(fullname, ...
zhugw
- 3
- Opened on Jul 28, 2018
- #8
IcanDoItL
- 7
- Opened on Jul 2, 2018
- #6
生成完毕PCA_X以后应该shuffle一下吧,直接用SVM跑不太好吧 而且训练集验证集测试集也没有分,hyperparameter也需要tune一下吧
bright1993ff66
- 4
- Opened on May 22, 2018
- #3

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.