C2_W3_Assignment Block 3.4

Hi,

I completed all the graded parts of the lab and passed all the unit tests, but I keep receiving a score of 0% because it is not being able to compile In [137]. Keeps saying that the object of type ‘lin_model’ has no len(). But I don’t think can do anything to fix it.

Can someone help?

The error message says you are trying to use the len method on a lin_model object. Check if you are using len(lin_model) above cell 137.

Also, passing unit test cases alone does not guarantee that your code is correct since the grader uses a different set of test cases.