hanbt / learn_dl

Deep learning algorithms source code for beginners
Apache License 2.0
1.19k stars 988 forks source link

perceptron.py 中有错误 #18

Open JeffChau0503 opened 6 years ago

JeffChau0503 commented 6 years ago

TypeError: () missing 1 required positional argument: 'w' 运行版本python3.x

zhaoqxu-eth commented 6 years ago

Hi, 你可以参考我的解决方案https://github.com/xuzhaoqing/MachineLearning/blob/master/src/deeplearning/py3.x/perceptron.py

JeffChau0503 commented 6 years ago

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用 十分感谢你的回复! 我问题已经解决了,我是用2to3找到了其中的错误。 再次感谢!


发件人: 徐昭清 notifications@github.com 发送时间: Monday, March 26, 2018 7:38:26 AM 收件人: hanbt/learn_dl 抄送: JeffChau0503; Author 主题: Re: [hanbt/learn_dl] perceptron.py 中有错误 (#18)

Hi, 你可以参考我的解决方案https://github.com/xuzhaoqing/MachineLearning/blob/master/src/deeplearning/py3.x/perceptron.py

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/hanbt/learn_dl/issues/18#issuecomment-376051774, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah7ue46cGTDJO4NVLH-L6-iipuFH6mR_ks5tiH7SgaJpZM4Rz0xI.