Skip to content

Conversation

@1mrliu
Copy link
Member

@1mrliu 1mrliu commented Jan 27, 2018

No description provided.

@jiangzhonglian jiangzhonglian self-requested a review January 28, 2018 04:29
| 参与人<br />1.目标定义 | [昵称](ApacheCN Cwiki地址) | xxx-可以选择匿名 | | 负责某个业务理解和指标确认 | |
| xx人<br />2.数据采集 | [昵称](ApacheCN Cwiki地址) | xxx-可以选择匿名 | | 负责 | |
| 参与人<br />3.数据整理 | 佳乐 | 872520333| | 负责(助手) | |
| 参与人<br />3.数据整理 | 佳乐 | 872520333| | 负责(助手) | 诺木人 |498744838| | 负责(助手) | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

亲爱的,这个换行来写会更好一点

myWriter.writerow(["ImageId", "Label"]) # 设置表格的列名
index = 0
for i in result:
<<<<<<< HEAD:src/python/getting-started/digit-recognizer/dr_knn_pandas-3.6.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有几个地方有冲突,这个需要你先拉取一下,然后再处理



def knnClassify(trainData, trainLabel):
<<<<<<< HEAD:src/python/getting-started/digit-recognizer/dr_knn_pandas-3.6.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有几个地方有冲突,这个需要你先拉取一下,然后再处理

tmp = [] # 列表,列表是可以改变长度的
index = index+1
tmp.append(index) # ImageId的数值
=======
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有几个地方有冲突,这个需要你先拉取一下,然后再处理

if __name__ == '__main__':
trainData, trainLabel, preData = opencsv()
# 训练并保存模型
<<<<<<< HEAD:src/python/getting-started/digit-recognizer/dr-python-3.6.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有几个地方有冲突,这个需要你先拉取一下,然后再处理

@@ -0,0 +1,3 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件可以不需要提交滴

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经删除这个文件

@jiangzhonglian jiangzhonglian merged commit 7c678c4 into apachecn:master Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants