<ipython-input-56-e4ca964e7253> in fit(self, X, y) ---> 26 self.w_ =np.zero(1 + X.shape[0]) 27 self.errors_ = [] AttributeError: module 'numpy' has no attribute 'zero'
报错,求解答
np.zeros()