python3 error 机器学习 错误

AttributeError: 'NoneType' object has no attribute 'sqrt'

这个错误其实是因为

plt.scatter(x[:,0],x[:,1],x[:,2],marker='o')
scatter()函数在程序中出现两次而show() 只展示一次
posted @ 2019-02-22 11:19  窃语  阅读(303)  评论(0编辑  收藏  举报