Logistic regression assignment - Exercise 3

I am confused about the output I am getting at exercise 3 but I seem to have done everything right.

{moderator edit - solution code removed}

Any help ?

The way you are calling freqs.get is incorrect. Please read the documentation for the “get()” method and consider the meaning of the second argument you pass to it relative to the purpose of the code you are writing there.

1 Like

Thank you, I got it sorted now

1 Like