嘤嘤嘤心态崩了……
File "……", line 40, in <module>
ppn.fit(X,y)
File "……", line 28, in fit
self.w_[1:]+=update*Xi
ValueError: operands could not be broadcast together with shapes (5,) (2,)
我感觉我都是照抄的啊怎么会有这种bug??
File "……", line 40, in <module>
ppn.fit(X,y)
File "……", line 28, in fit
self.w_[1:]+=update*Xi
ValueError: operands could not be broadcast together with shapes (5,) (2,)
我感觉我都是照抄的啊怎么会有这种bug??
2017-10-06
举报