Thanks to visit codestin.com
Credit goes to github.com

Skip to content

james-moseti/PrediF1_25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏎️ F1 Predictions 2025

Predict Formula 1 race outcomes for the 2025 season using machine learning and FastF1 data.

πŸš€ Overview

Gradient Boosting model trained on:

  • FastF1 API data
  • 2024 race results
  • 2025 qualifying results

πŸ“Š Data Sources

  • FastF1 API (lap times, telemetry, results)
  • 2025 qualifying sessions
  • Historical race data

🏎️ How It Works

  1. Collect & preprocess data
  2. Engineer features
  3. Train model on 2024 results
  4. Predict 2025 race times & rank drivers

πŸ”§ Usage

python3 prediction1.py

Example output:

🏁 Predicted 2025 Australian GP Winner 🏁
Driver: Lando Norris, Predicted Race Time: 81.78s
...
πŸ” Model Error (MAE): 3.22 seconds

πŸ“ˆ Model

  • Algorithm: Gradient Boosting Regressor
  • Metric: Mean Absolute Error (MAE)

πŸ“Œ Future Plans

  • Add weather & pit stop strategy
  • Explore deep learning

πŸ“œ License

MIT License

About

Simple 2025 F1 Predictions using Machine Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published