Please DM your notebook to me and I will take a look
Removing the file . .
your predict function has gone wrong because of an unnnecessary FOR loop. You have done the For loop over the examples, m twice!!
It should ideally look like this:
For loop over the m examples
For Loop over the n features
From here on, if you indent the rest of the lines correctly, your ouput will be correct. While indenting, give it a second thought if that line should come under the “i” loop or the “j” loop.
Thank you very it get sorted.
You are welcome @kirankr24