I am Getting Wrong Output

Can anyone help how to resolve this

Your code obviously does not correctly implement the math formulas given in the instructions. We can’t see your code, so the best I can suggest is that you carefully compare your code to the instructions again.

Hi @Ashok_NUNE . Welcome to the community. I would suggest to have a closer look when you are computing your cost function i.e. ‘J’ since it involves dot product and sometimes folks might miss it. And since you have incorrect weights as well, try and see if you computed the prediction ‘h’ correctly. Let us know if it still doesn’t work for you.