C3W3_Assignment: Classify test case failing

Above shows that my # GRADED FUNCTION: classify code works well on the example and agrees with expected result. But w3_unittest.test_classify has issues. all of my test cases is failing.

i am getting exactly this kind of result. but not able to figure out what is wrong here. ref: C3W3 assignment Classify test issue

The issue seems to be solved:

Let me know if you’re stuck after fixing this.

yes, i just figured out the mistake which i was making. i was passing model.predict(q1,q2) instead of model.predict(data_gen)

1 Like