Error: Can't multiply sequence by non-int of type 'numpy.float64'

Hi, The title above is the error i am getting after executing The Sigmoid Class in the Gradient Desscent Algorithms. The problem is that i have compared my coding a numerous times with the actual notebook provided at the beginning of every hands on videos, and apart from having used variables other than X and Y, the rest of the coding is absolutely same.

https://colab.research.google.com/drive/1oMzF6UxC1t_6YLD-5SqdHTTGymTWTWtI#scrollTo=MuT8C9OBCAox

Here’s the link to My Notebook.

Kindly help me out :grinning:

Hi @khalid_0800
It’s due to the fact that you’re trying to multiply a numpy float value with a python list. You need both of them to be either numpy variables, or python variables.