'numpy' has no attribute 'predict'
---> 15 z = classifier.predict(np.array([xx1.ravel(), xx2.ravel()]).T) 16 print (xx1.ravel()) 17 print (xx2.ravel()) AttributeError: module 'numpy' has no attribute 'predict' 提示这个错误,不知道是哪里的问题
---> 15 z = classifier.predict(np.array([xx1.ravel(), xx2.ravel()]).T) 16 print (xx1.ravel()) 17 print (xx2.ravel()) AttributeError: module 'numpy' has no attribute 'predict' 提示这个错误,不知道是哪里的问题
2017-05-01
举报