There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
You can also find further discussion and get answers to your questions over in Language Help.
Agree with a comment or answer? Like () to up-vote the contribution!
Apologies and I’ve deleted my original comment, I wasn’t aware this was a volunteer run forum. But after a long day, coming onto Codecademy and trying to navigate this lesson was incredibly frustrating and made me want to vent and quit the whole thing. Thank you for providing the feedback links, which I have gladly used to provide a detailed response.
I just wanted to let any other students who have tried this lesson and visited the forums that they are not alone in their frustrations, and they’re not just stupid - which is exactly how I felt after attempting this lesson.
I get the message that my value of accuracy_str is wrong, but i don’t have a clue as to why. Maybe someone can help me out here. I checked with the solution, and the only thing i made different than cc is that i created a new instance of the LogisticRegression() class.
My code is as follows:
The rest is as in the solution. Also, my stratified recall score is lower than the unstratified one, which should not be like that according to the hint, and what would make the whole idea of stratification rather useless in this scenario.