At the end of week 1, I was trying to code a univariate linear regression model on my own, which I did. However, I am facing some problems:
The values of W and B are not converging. I tried changing the values of the learning rate and threshold values.
I was using a simple dataset with x and y, where x = y.
(Note: I am a newbie in Python and ML. Please let me know if I made any mistakes in my code, even if they are small. Also, this is my first post in deeplearning.ai, so let me know if there are any practices that I didn’t follow.)