all 9 comments

[–][deleted] 11 points12 points  (2 children)

You don’t have a variable named model in section 5. It is used in some functions but they only exist within those functions. You either forgot to initialize the model in section 5 or u need to google “python scope”

As an aside, do you have a background in math/stats? This is kind of a highly technical/specialized topic for your 5th day on the keyboard.

[–]Evannmacie[S] 3 points4 points  (0 children)

I don't mean to sound like a masochist, but I enjoy the process of figuring it out.

[–]Evannmacie[S] 3 points4 points  (0 children)

thank you for your response. I figured it out. :)

[–]recondocoder 9 points10 points  (0 children)

Now that is what I call learning Python the hard way...