Hi everyone, I hope everyone is doing well.
I am writing because I have an issue with the result that may code produces for the cost function.
I am not sure what I am doing wrong.
This is the code for the cost:
{moderator edit - solution code removed}
The problem is that the result is cost = 7.410349464564118 while the expected value is cost = 0.15900537707692405