Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Beyond the Checkered Flag: F1 Statistics Explored
Data Science   Data Visualization   Latest   Machine Learning

Beyond the Checkered Flag: F1 Statistics Explored

Last Updated on November 18, 2023 by Editorial Team

Author(s): Vishnu Regimon Nair

Originally published on Towards AI.

Photo by Cr-AI-tive on Pixabay

In an extremely competitive sport like F1, even the tiniest performance gains can lead to victory. Analyzing F1 from a fan and data science perspective could help gain useful insights. This inspired me to write this article and help unravel factors that constructors and drivers should focus on to improve their standings, if not win the World Championship.

Introduction

Formula One is the most significant level of single-seat vehicle racing, and as such, it attracts significant investment and millions of spectators from nearly every country on the planet. Extreme precision, an obsession with fast cars, and a strong team are required to compete in and win the Grand Prix. It’s not a sport for the faint-hearted. Drivers push their limits in these extremely fast cars to become world champions.

Analysis Questions

Q1) How did the β€œForm” of the best drivers and teams change in recent years?

Q2) Which teams and players faced the most crashes in the past decade?

Q3) Who are the players that face the most engine trouble?

Q4) Which is the most dangerous Grand Prix in the last decade?

Q5) Which factors should constructors focus on to make f1 cars more reliable?

Data Exploration

The data was sourced from Kaggle with a CC0: Public Domain license. Formula 1 World Championship (1950–2021) This dataset contains all information on the Formula 1 races from 1950 to 2021, broken down into 13 CSV files.

  1. circuits.csv β€” Circuits where F1 races are held
  2. constructor_results.csv β€” Race results of the constructor’s championship
  3. constructor_standings.csv β€” Final standings of the constructor’s championship
  4. constructors.csv β€” Constructors in F1
  5. driver_standings.csv β€” Final standings of the driver’s championship
  6. drivers.csv β€” Drivers in F1
  7. lap_times.csv β€” Lap times in F1
  8. pit_stops.csv β€” Pit stops in F1
  9. qualifying.csv β€” Qualifying in F1
  10. races.csv β€” Races in F1
  11. results.csv β€” Results of F1 races
  12. seasons.csv β€” Seasons of F1
  13. status.csv β€” Mapping of various statuses

Data Preprocessing

Since there were 13 CSV files, much preprocessing was required and combined to create the final dataset.

  1. Import 13 CSV files to JupyterHub.
  2. Read individual CSV files and combine them on race ID, constructor ID, driver ID, circuit ID, and status ID.
  3. Remove erroneous values.
  4. Create a new CSV file based on the newly cleaned dataset.
Image by Author

Tools

The following tools were used to assist the data analysis process:

  • Tableau: Used to create the visualizations.
  • JupyterHub: Used to wrangle, clean, and prepare the dataset for visualization.

Analysis

Image by Author

The visualization clearly shows the history of F1, starting from the inaugural season of 1950 to the current season. Italian GP and British GP have been conducted since 1950 and have continued to do so without ever having a year where they couldn’t conduct.

I am an artist, the track is my canvas, and the car is my brush. β€” Graham Hill

Q) How did the β€œForm” of the best drivers and teams change in recent years?

Data was taken for the last five years as Max Verstappen only joined f1 in 2015. His debut was in the 2015 Australian Grand Prix when he was 17, making him the youngest driver to compete in f1.

Image by Author

Max Verstappen is the current world f1 champion, ending the era of domination by Lewis Hamilton. Hamilton has been dominating for the past seven years, and he was the world champion in 2015, 2017, 2018, 2019, and 2020. He was narrowly beaten by Max Verstappen in 2021 during the last Grand Prix of the season and his former teammate Nico Rosberg by 5 points in the last Grand Prix of the season in 2016. Even though he is not the current world champion, he remains in excellent form and will continue to be a force to reckon with. Valtteri Bottas has consistently performed for Mercedes, always finishing in the top 5 of the standings.

Image by Author

Mercedes continues to dominate f1, winning the constructors championship from 2014 to 2021. Red Bull won the constructors championship from 2010 to 2013. Red Bull’s slump began after 2014, and it has been unable to beat Mercedes for the past seven years. Max Verstappen is probably the best bet for Red Bull to beat Mercedes in the upcoming years. Although Verstappen is the current world champion, Mercedes won this year as Valterri Bottas had many more points than Sergio Perez.

In the past decade, Ferrari has not been performing up to the standards of Ferrari’s golden days. Ferrari won 6 championships in a row from 1999 to 2004 when Michael Schumacher was racing. After he retired, Ferrari dropped in its performance and has not returned.

In Formula One, dominance is nothing new; the series’ history is filled with it, dating back to the 1950s when Juan Manuel Fangio won in a dominant Mercedes that some consider the best racing car ever built. The vast majority of Formula One champions have triumphed in the best car available at the time. The other seven teams lack the vehicle and the financial means to compete at the front, so they compete for fourth place, also known as the β€œBest of the Rest.”

To achieve anything in this game, you must be prepared to dabble in the boundary of disaster. β€” Stirling Moss

Q) Which teams and players faced the most crashes in the past decade?

Image by Author

Hulkenberg faced the most crashes in the past decade(11 collisions and seven accidents), followed by Grosjean(12 collisions and five accidents), Perez(7 collisions and three accidents), and Max Verstappen(4 collisions and six accidents).

F1 cars are very expensive, and drivers more prone to crashes may not be a feasible choice for teams if their performance doesn’t match up. It is interesting to see Max Verstappen in the top 4. This might be due to his lesser experience in the beginning years of his career. Although, recently, he has been facing collisions while overtaking.

Image by Author

Williams has faced the most crashes as a team in F1 in the past decade(33: 25 collisions and eight accidents), followed by Ferrari(27: 16 collisions and 11 accidents), Toro Rosso(25: 16 collisions and nine accidents), and Mclaren(23: 19 collisions and four accidents).

One of the reasons why Williams is performing poorly might be because they face many more crashes than other teams. It is an extremely expensive ordeal for teams to fix cars. Teams like Williams have a lower overall budget than bigger teams like Ferrari and McLaren. Therefore, it becomes a much bigger burden for small teams to face crashes.

Inequality of Budget

2018 Budget According to RaceFans.net, in order of the 2018 championship finish

Mercedes β€” $400 million

Ferrari β€” $410 million

Red Bull β€” $310 million

Renault β€” $190 million

Haas β€” $130 million

McLaren β€” $220 million

Racing Point β€” $120 million

Alfa Romeo β€” $135 million

Toro Rosso β€” $150 million

Wiliams β€” $150 million

Bigger teams like Mercedes, Red Bull, and Ferrari have over twice the budget compared to teams similar to Williams and Toro Rosso. This grave inequality makes every crash and subsequent repair more cumbersome for smaller teams.

Another rule being developed for 2021 is a budget cap, which will be the first in Formula One history. The exact figure has been a matter of contention between the largest and smallest clubs, and the question of how it would be policed still needs to be answered. In principle, a value of $175 million has been agreed upon, but with exclusions such as marketing costs and driver pay, the β€˜real’ budgets of the best teams are projected to be far higher. The team’s income, largely derived from Formula One revenues, is the other side of the budget equation.

The prize money structure in 2021 will be more meritocratic, with championship positions having a greater influence on where the money flows. Bigger teams with bigger budgets continue to win championships, make more money, and then use the cash they receive to fuel their next race. Smaller teams are left with smaller portions of the pie and need help to stay afloat.

Therefore, an analysis of crashes can help constructors, especially Williams and Toro Rosso, to figure out which drivers to pick for the next Grand Prix.

To make it fairer, shouldn’t they all drive the same car?

One idea frequently made in debates about Formula One’s troubles is that to discover the best driver in the world, each one should be given identical machinery to establish who is truly the best. This idea, although it makes sense, is only good in theory.

Big manufacturers like Ferrari spend so much money on the sport to show how their engines are superior to the rest. Enzo Ferrari utilized Formula One to establish that his vehicles and engines were the best in the world. When the current Mercedes-Benz board of directors meets in Stuggart, they know that their brand is now synonymous with the quality that has catapulted its F1 team to this age of dominance. Manufacturers would have little incentive to invest millions in a single-spec series, which refers to identical machinery, because the prestige of winning would be significantly lower.

The consequences are obvious: without big-name manufacturers, F1 would struggle to attract such a large demand for a spot on the race calendar, the series’ standing would be lowered, and drivers would hunt for more tempting venues to race. It would just be another racing series without all of that. F1 has always been the pinnacle of motorsport in terms of both racing and technology, and the paddock is unanimous in its desire to retain it that way, albeit to differing degrees.

Q) Who are the players that face the most engine trouble?

Image by Author

Fernando Alonso faced the highest number of car failures in the past decade(27), followed by Ricciardo(24), Hulkenberg(23), and Grosjean(20). In his tenure with Mclaren, it is a well-known fact that he was dissatisfied with the car that Mclaren made. Despite being one of the biggest manufacturers in F1, McLaren still faces many engineering issues regarding F1 cars.

The car's reliability could be better than the former world champion, and even in the races that it is reliable, the Honda engine was underpowered and had lesser overall speed, leaving him wide open to being overtaken. Fernando Alonso left McLaren in 2019 and is making a comeback by being part of the Renault team, newly rebranded as Alpine. Engine problems are a big factor that determines the reliability of the engine. After all, you need a car to drive, which must be fast and reliable.

Therefore, an analysis to find which drivers face the most engine trouble can be used to determine how drivers decide which constructor to choose for the upcoming season.

If you no longer go for a gap that exists, you’re no longer a racing driver. β€” Ayrton Senna

Q) Which is the most dangerous Grand Prix in the last decade?

Image by Author

F1 is a dangerous sport, and knowing which Grand Prix has more crashes will help us determine which Grand Prix needs more safety measures and rules. Monaco Grand Prix is the most dangerous Grand Prix, having 23 crashes, followed by the Singapore Grand Prix(19 crashes), the British Grand Prix(17 crashes), and the Belgian Grand Prix(16 crashes).

The Monaco Grand Prix is one of the most prestigious race tracks in the world. One of the three races, along with 24 Hours of Le Mans and the Indianapolis 500, makes up the Triple Crown of Motorsport. It has narrow circuits, which makes it more dangerous, and it does not adhere to the FIA’s mandated 190-mile minimum race distance for F1 races.

The history and glory of this particular circuit should not make it an exception to safety rules and regulations. Extra rules and safety measures must be implemented in these circuits to ensure the safety and welfare of drivers and to be set as an example for other Grand Prix circuits to follow.

Races are won at the track. Championships are won at the factory. β€” Mercedes (2019)

Q) Which factors should constructors focus on to make f1 cars more reliable?

No matter how fast a car can be, you can’t win with it if it isn’t reliable.

Mclaren faced the most car failures in the past decade(58), followed by Toro Rosso(57), Red Bull(46), and Williams(43).

Image by Author

McLaren faces most Gearbox issues, followed by engine and power unit failure. A big team like McLaren should be able to produce a reliable car, otherwise, they won’t be able to retain/recruit big players who have consistent performance.

Image by Author

Toro Rosso faces most engine problems, followed by Suspension and Power Unit failures. This could be why Toro Rosso has had a less-than-average performance for the past decade.

Image by Author

Red Bull faces most engine problems, followed by Power Unit and Electrical failures. As per the analysis, different constructors should focus on different factors to improve the car's reliability, engine problems being the most pressing.

When I do retire, I know for a fact that I’ll never be able to replace the incredible feeling I get when I’m driving an F1 car. β€” Jenson Button

Conclusion

Max Verstappen beat Lewis Hamilton this year to break his era of dominance. He is the challenger to beat and poised to remain a good rival for years. Max Verstappen β€” Lewis Hamilton rivalry will probably be the best rivalry of the next decade. Mercedes continues to dominate F1 constructor championships, and Red Bull is rapidly reducing the gap between the two. Could 2022 be the year Red Bull wins?

Hulkenberg faced the most crashes in the past decade as a driver, and Williams faced the most crashes in the past decade as a constructor. Crashes are more cumbersome for smaller teams like Williams because they have smaller budgets. Can the new budget cap regulations reduce the difference between bigger and smaller teams?

Fernando Alonso faced the highest number of car failures in the past decade. This could be one of the reasons why Mclaren couldn’t retain the former world champion. Can Alonso be a stronger competitor next year by moving to Alpine?

The Monaco Grand Prix is the most dangerous circuit in F1, and safety rules and regulations must improve to keep drivers safe. Will mandating new safety regulations finally happen in 2022?

McLaren faces the most engine problems, the Gearbox being the most prominent. Will McLaren finally fix the issues under the hood and become a competitor worthy of being backed by one of the largest manufacturers in the world?

Future work

Weather plays an important factor in f1. It changes the entire strategy of the teams, how they use pit stops, the tires they use, and how fast teams can go. Rainfall reduces the gap between big and small teams, as bigger teams can’t go as fast as when it doesn’t rain. Overtakes become riskier and make drivers more prone to crashes due to hydroplaning.

The infamous crash in NΓΌrburgring, where Niki Lauda faced serious burns to his face and body, might have been caused due to rain. Niki Lauda had appealed to stop the race, citing concerns of rain and lack of adequate fire and safety measures, but lost the appeal by one vote and was forced to race. Rainfall makes the entire Grand Prix more dangerous than it already is. Although f1 will remain a dangerous sport due to the cars being capable of going at blinding speeds, perhaps future f1 races will have more safety measures to improve, if not guarantee, the safety of drivers.

Machine learning can be used to predict who will win in future races. But this has to be considered since rosters of teams change, like managers, engineers, drivers, etc. Engine changes and the inclusion of new safety measures and rules should also be factored in while making predictions.

Originally published at https://www.vishnurnair.com.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓