C3W3 Assignment function classify -> unmatch expected output

Hi @skinx.learning

Looking at the error message it is visible that you use pred variable instead of y_pred

Cheers

P.S. there are multiple previous posts related to the classify function (link1, link2, link3 and others) that could offer you hints to solve your problem.