[DL 103 Sigmoid neuron - TypeError: bad operand type for unary -: ‘method’ ]

**I am just stuck here in this part of DL 103 where I am trying to run the fit function but I encounter a type error.** Please see the **Fit for toy data section** in the following link for this type error.

https://colab.research.google.com/drive/1_qXjBTJOpO-nI_mUg2tOHyKBslUrtvKM

Kindly help me to fix the error.

```
X = np.asarray([[2.5, 2.5], [4, -1], [1, -4], [3, 1.25], [2, 4], [1, 5]])
Y = [1, 1, 1, 0, 0, 0]
sig_neu = SigmoidNeuron()
# fit function is called
sig_neu.fit(X, Y, 1, 0.25, True)
def sigmoid(self, x):
# TypeError: bad operand type for unary -: 'method'
return 1.0 / (1.0 + np.exp(-x))
```