I am getting slightly different weights in part 3, i.e., training model as shown below. All the test cases prior to training the model are passing for me.
This is causing test cases in part 4 (Test your logistic Regression) to fail. Could anyone please give some hint on how to pass the test cases in part 4. Thanks.
By finding and fixing the bugs in your training logic. An error in the sixth decimal place is not a rounding error: it’s a real mistake somewhere, which you need to debug.
Thanks for your advice. Indeed, there was a bug in my code. Appreciate your help.
Nice work! It’s great that you were able to solve the problem without any more hint than that! Thanks for confirming.