A Machine Learning Model for Podium Finishes

This post will demonstrate how to use the “caret” library in R to set up a simple machine learning model. We’ll use the model we build to predict which drivers will finish on Podium (1st, 2nd or 3rd) at the next race, the Japan Grand Prix. Enjoy! 1. Gather the F1 Data Set up the same data frame as in the Regression model, including generating the “Prior Year Win Rate” and “Prior Year Podium Rate” for each driver and each race. We will use these same features in our machine learning model. With one line of code, we can get […]