Help me fix the Error in my Model Code

Aslink: Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera
Building Logistic Regression model. I have been spending so much time on figuring out what’s wrong. Here are the screenshots:

{moderator edit - solution code removed}

Hi @Hari_Govi ,

When calling the optimize() function, you have set the arguments to the default values, causing the error raised as the public test used different set of values.
By just passing the name of the arguments, it should help to resolve the issue.

1 Like