Hi @Omar_Mohamad , from my memory 100 iterations are not enough for the parameters to converge to the minimum. Try 1000 and 10000 and check if the cost is converging. If not, you may need >10000 iterations. Please try.
Raymond
Ok, when I tried large learning rate, the slope value tends to zero. thanks @rmwkwok
You are welcome @Omar_Mohamad
