Problem with Assignment 1

Error: There was a problem grading your submission. Details: house_model() missing 1 required positional argument: ‘y_new’.

I have included the ‘y_new’ parameter inside the function and getting the correct result as expected. But the grade is 0/100. Can you please help? What should I do now?

Please click my name and then message your notebook as an attachment.

The problem was that the original function signature was changed to take in the value for prediction. The fix was to return the model from the function not do the prediction there.

1 Like