'Perceptron' object has no attribute 'predict'
net_input()和predict()在fit()里面會報錯:'Perceptron' object has no attribute 'predict',但是把這兩個函數放在fit()同級也會報錯:numpy.core._exceptions.UFuncTypeError: ufunc 'subtract' did not contain a loop with signature matching types (dtype('<U11'), dtype('<U11')) -> dtype('<U11')
2019-09-25
predict函數和fit函數對齊就可以了。剛剛才發現的。