I am currently enrolled in “Supervised Machine Learning: Regression and Classification” by Andrew Ng, and I am having an issue with the final lab assignment of Week 3. I am getting 0% on the lab, and it is not showing any feedback on what I got wrong. I have attached a screenshot for reference. Can anyone please help me with this?
Please do not post your code on the forum. That’s not allowed by the Code of Conduct.
I have edited your post to remove the code.
Instead, please post a screen capture image of what you see when you run that cell, or the detailed feedback from the grader, or images of any error messages.
Note: At a glance I see no issues with your sigmoid() function.
What results did you get when you ran the tests in the following two cell?
Sorry about that, this was my first time posting something here. I am not sure where I can see the feedback. Can you please help with it? Also, when I am submitting it, I am getting 0% and below I see “Cell #14. Can’t compile the student’s code. Error: TypeError(“unsupported operand type(s) for +=: ‘float’ and ‘NoneType’”)”
No, I haven’t. Can I send you a screenshot of it so you can tell me if my code was wrong? But what I don’t understand is that it is not grading the other exercises and just showing the error of “Cell #14. Can’t compile the student’s code. Error: NameError(“name ‘z_wb’ is not defined”)”
Kindly look for usage of z_wb. It seems you are using this variable on right side of any formula or equation, before actually defining this variable name & value in your code.
Is this variable name already exist inside provided source code or you have initiated it?