Formula 1

Fans are using AI to predict F1 race results and the software is only getting smarter

Mariana Antaya built a machine learning model that correctly predicted three Formula 1 race winners, and she says the tool is getting better every grand prix weekend

Owen Bellwood

Published: Apr 26, 2025, 8:12 AM

Copy link

Share on Facebook

Share on Twitter

Share on WhatsApp

Share on Linkedin

Share on Pinterest

Share on Viber

Add as a preferred source

Race Start

Race Start

Photo by: MOHD RASFAN-AFP via Getty Images

Ahead of a grand prix weekend, most of us like to share predictions or try and guess who will come out on top on a Sunday. Data scientist Mariana Antaya took those chats one stage further and built a machine learning model to try and predict F1 race results. So far, her model has correctly called the winners of three grands prix this season.

“I'm a really big Formula 1 fan,” says Antaya when speaking with Motorsport.com. “Machine learning and all these algorithms are really widely used in Formula 1 by the teams. I don't think as many people know, but the race engineers are using this for their strategy in real time.

“So, I wanted to try to predict the winner as a fun exercise, just to see, like, how good we can get with the data that's available.”

To do this, Antaya started building a model of her own. Armed with lap times from last year’s Australian Grand Prix, which was sourced from the FastF1 API data store, Antaya set about comparing the 2024 race result with qualifying performances in 2025.

Once the rookies were removed from the program, which Antaya admits is the one factor she “interfered with” as there was no data to benchmark against, she began training her model. Using a gradient boosting tool, Antaya predicted the lap times for the race in Albert Park, and her program correctly picked Lando Norris as the winner.

“I said at the end of the video, this is obviously a simple model, and I didn't know it was going to predict right,” Antaya says. From there, the project started growing as the F1 community gathered around to see how many more races Antaya could correctly call.

“I wanted it to be a crowdsourced type of thing,” she adds. “So, all of the audience could say ‘I really want you to include weather data in it,’ or ‘I really want you to include the practice sessions in the model.’

“I wanted people to tell me what other features they wanted to add to the model to improve it over the course of the season.”

Formula 1 Fan Mariana Antaya

Formula 1 Fan Mariana Antaya

Photo by: Mariana Antaya

And improve it has, as the machine learning model is continuing to predict race winners correctly. This doesn’t mean it’s perfect, however, and Antaya is now adding more datapoints to the program to help increase its accuracy.

“Having more data is going to help the model learn more and it's going to be able to make better predictions,” she explains. “If you only have so much data, it's going to have a very small mind, I guess, and it won't be able to understand as much.”

In order to expand the mind of her model, Antaya added weather data ahead of the Japanese Grand Prix, which included the chance of rain during the race and track temperatures at Suzuka. In addition to this, wet-weather performance of the drivers was also added, and the program used this to correctly predict Max Verstappen’s victory at the race.

The next big step for the model came ahead of the Saudi Arabian Grand Prix this weekend, when it was trained on each team’s performance so far this year. Antaya explained that the extra strand of data would help her program understand that teams like McLaren and Williams have made a step forward in 2025, while others such as Red Bull aren't performing consistently as well as they were in 2024.

“Now we're taking into consideration more of a holistic picture of how well the car and the team is performing,” she explains.

‘Surprised’ by the series

The series of posts on Instagram and TikTok has been growing in popularity with each successive upload, and the clips have even reached Formula 1 itself. A handful of engineers from F1 teams on the grid reportedly reached out to Antaya after she started uploading, and she’s now looking forward to finding out how close she got to the prediction models used in the series.

“I've been shocked [by the response]. I've been really, really surprised,” she says. “I honestly have no idea [how the teams do it]. That's a black box to me, I wish I knew. But I hope I'm doing it correctly or something similar. They are using, probably, much more complex models and much more data that they have on the car though, for sure.”

Hannah Schmitz, Principal Strategy Engineer of Red Bull Racing

Hannah Schmitz, Principal Strategy Engineer of Red Bull Racing

Photo by: Peter Fox - Getty Images

With three out of five race winners correctly predicted, Antaya isn't resting on her laurels as she hopes to make the predicter even more accurate. Ahead of the Miami Grand Prix, the data scientist says she wants to start experimenting with more complex machine learning processes to increase the accuracy of her predictions and reduce the mean absolute error of the model, which can be thought of as the average difference between the model's predictions and the race result.

But while the accuracy of the model could increase thanks to additional datapoints and new processes being implemented, Antaya is aware that in F1 there will always be unpredictable elements.

“I think there's always going to be that barrier,” she adds. “It's really hard to be able to tell that there's going to be a safety car this lap, and that this is then going to trigger some other stream of events.

“Maybe we could pull past data on crash percentage during the race, and that's something that we can add as another feature. But it's also a sport, so it's not like we can look into the future and see what's going to happen all the time.”

Read Also:

We want your opinion!

What would you like to see on Motorsport.com?

Take our 5 minute survey.

- The Motorsport.com Team

Read and post comments

Read also :

Share Or Save This Story

Copy link

Share on Facebook

Share on Twitter

Share on WhatsApp

Share on Linkedin

Share on Pinterest

Share on Viber

Previous article Carlos Sainz told F1 drivers "not to worry" over Madrid circuit design

Next article Claire Dubbelman: The first woman to hold an FIA Race Director Super Licence

Top Comments

There are no comments at the moment. Would you like to write one?

View More & Comment

More from

Owen Bellwood



Mercedes: 2027 development “started a while ago” as F1 2026 domination continues

Formula 1

Formula 1

Spanish GP

2 mo

Mercedes: 2027 development “started a while ago” as F1 2026 domination continues



Fred Vasseur shuts down claims Ferrari split Spanish GP strategy to separate drivers

Formula 1

Formula 1

Spanish GP

2 mo

Fred Vasseur shuts down claims Ferrari split Spanish GP strategy to separate drivers



Why McLaren won’t blame F1 race control for lost Spanish GP victory

Formula 1

Formula 1

Spanish GP

2 mo

Why McLaren won’t blame F1 race control for lost Spanish GP victory

Latest news



"All show, no substance" - Toto Wolff critical of mooted Cadillac TWG sale

Formula 1

F1 Formula 1

Qatar GP

26 min

"All show, no substance" - Toto Wolff critical of mooted Cadillac TWG sale



Fernando Alonso: Dakar challenger "more robust" than Aston Martin F1 car

Formula 1

F1 Formula 1

Qatar GP

1 h

Fernando Alonso: Dakar challenger "more robust" than Aston Martin F1 car



Marc Marquez set to take part in Valencia MotoGP test

MotoGP

MGP MotoGP

Valencia GP

1 h

Marc Marquez set to take part in Valencia MotoGP test



The seismic repercussions of Marc Marquez’s MotoGP retirement

MotoGP

MGP MotoGP

Valencia GP

2 h

The seismic repercussions of Marc Marquez’s MotoGP retirement

Feature

Discover prime content



The reality beneath the FIA president's faux pas in Qatar

Formula 1

Qatar GP

By Stuart Codling

The reality beneath the FIA president's faux pas in Qatar



George Russell can't catch a break - in Qatar, Arvid Lindblad's broken endplate was the culprit

Formula 1

Qatar GP

By Jake Boxall-Legge

George Russell can't catch a break - in Qatar, Arvid Lindblad's broken endplate was the culprit



What was Mercedes' killer advantage in Qatar GP qualifying?

Formula 1

Qatar GP

By Stuart Codling

What was Mercedes' killer advantage in Qatar GP qualifying?



What we learned from Friday practice at the 2026 F1 Qatar GP

Formula 1

Qatar GP

By Jake Boxall-Legge

What we learned from Friday practice at the 2026 F1 Qatar GP

Subscribe and access Motorsport.com with your ad-blocker.

From Formula 1 to MotoGP we report straight from the paddock because we love our sport, just like you. In order to keep delivering our expert journalism, our website uses advertising. Still, we want to give you the opportunity to enjoy an ad-free and tracker-free website and to continue using your adblocker.

You have 2 options:

Subscribe now Already subscribed? Sign in here

Already disabled your adblocker?
Reload page

Manage Alerts

Subscribe