xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 1.85MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-21
  • 語言: 其他
  • 標簽: COAE??

資源簡介

COAE2015數據集,用做簡單的機器學習情感分析的訓練集很不錯

資源截圖

代碼片段和文件信息

import?pandas?as?pd

corpus?=?pd.Dataframe(pd.read_csv(‘./data/FinalAll.csv‘))
labels?=?corpus[‘8Label‘]
text?=?corpus[‘7Text‘]
print(text[1])
negfile?=?open(‘negfile.txt‘?‘w‘?encoding?=?‘utf-8‘)
posfile?=?open(‘posfile.txt‘?‘w‘?encoding?=?‘utf-8‘)
objfile?=?open(‘objfile.txt‘?‘w‘?encoding?=?‘utf-8‘)
for?i?in?range(len(text)):
??if?labels[i]?==?0:
????objfile.write(‘{}‘.format(text[i]))
????objfile.write(‘\n‘)
??if?labels[i]?==?-1:
????negfile.write(‘{}‘.format(text[i]))
????negfile.write(‘\n‘)
??else?:
????posfile.write(‘{}‘.format(text[i]))
????posfile.write(‘\n‘)
objfile.close()
negfile.close()
posfile.close()

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-14?21:04??coae2015-master\
?????文件??????????20??2016-02-03?16:26??coae2015-master\README.md
?????目錄???????????0??2018-05-11?22:53??coae2015-master\data\
?????文件??????613776??2016-02-03?16:26??coae2015-master\data\FinalAll.csv
?????文件?????1895330??2016-02-03?16:26??coae2015-master\data\FinalAllConcatSeg.csv
?????文件??????635115??2016-02-03?16:26??coae2015-master\data\FinalAllSeg.csv
?????文件?????1600176??2016-02-03?16:26??coae2015-master\data\OriginalTest.csv
?????文件??????406924??2016-02-03?16:26??coae2015-master\data\OriginalTrain.csv
?????文件??????108105??2018-05-14?15:12??coae2015-master\negfile.txt
?????文件???????????0??2018-05-14?21:03??coae2015-master\objfile.txt
?????文件??????317545??2018-05-14?15:12??coae2015-master\posfile.txt
?????文件?????????647??2018-05-14?15:12??coae2015-master\readcsv.py

評論

共有 條評論