I am encountering this error while training my data.
I believe it is arising due to the np.dot function
class SigmoidNeuron :
def __init__(self):
self.w = None
self.b = None
def perceptron(self, x):
return np.dot(x, self.w.T) + self.b
def sigmoid(self,x):
return 1.0/1.0+ np.exp(-x)
Any help shall be appreciated