I’ve been racking my brain trying to solve this but I’m completely stumped.
Initially, I managed to get it to the expected output of 0.218 but for some reason the error message was still coming up. I realised I was also doing the regularised cost so removed the code but havent been able to get close to 0.218 since. I’ve resorted to just completely following the hints but still no luck, was wondering whether may be I’ve done a common indentation error or something else?
Any help would be much appreciated!