Correction of annotation error

This commit is contained in:
Dod-o 2019-02-01 22:35:02 +08:00 committed by GitHub
parent 6fae0d22cf
commit e6588c7a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ def loadData(fileName):
for line in fr.readlines():
# 对每一行数据按切割福','进行切割,返回字段列表
curLine = line.strip().split(',')
#分类list中放置标签
#分类list中放置标签
if int(curLine[0]) == 0:
labelList.append(1)
else:
@ -296,4 +296,4 @@ if __name__ == '__main__':
print('the accuracy is:', accuracy)
# 打印时间
print('time span:', time.time() - start)
print('time span:', time.time() - start)