πŸ₯‡ Week 05 - Competition

2023/24 Winter Term

Author

Dr. Jon Cardoso-Silva

This week we are going to have a little competition. As part of πŸ›£οΈ Week 05 Lab, you will be asked to explore and propose a new logistic regression model that beats a baseline one we will provide.

Winners will be put in our Hall of Fame and receive DSI tote bags (there are four bags for the taking)! πŸŽ‰

You’ve got until Wednesday at 5pm to submit your finest model via Moodle. Jon will reveal the winner in Friday’s lecture.

The goal

Your mission now is to develop a model trained, as before, on data up to the end of 2018 that excels in F1-Score on the training and testing sets. Can we get closer to f_means=1?

Strategies to Consider

  • Adjust the classification threshold
  • Enrich the model by adding more variables.
  • Transform variables β€” either manually or with recipes::step_* functions.
    • For the recipes route, consult the sections on Individual Transformations and Normalisation on the recipes documentation page. Just triple check the output of your recipes.

πŸ‘‰ Remember, the golden rule is you can’t use future data to forecast the past.

πŸ† Winning solutions (annotated!)

You can download the .qmd file below to check out the winning solutions for our friendly mini-competition (with annotations and explanations from Jon).