How exactly do I have to define a model in the Assignment for week 2?

I am confused about what I need to put in the model define area of the program.

In the section where it says ‘Create and train your model’ there is a section of the code where it says to define the model. I don’t know what to put there. Can someone please share what they did?


I used the same code from the lab in week 2, but every time, I had an error called AttributeError.

Please update your post with details about the error.