Skip to content

Jass-pvt/F1_analysis.R

Repository files navigation

🏎️ F1 Driver Performance Prediction using Random Forest (R)

This project demonstrates the application of machine learning in motorsports analytics by predicting Formula 1 driver performance using a Random Forest regression model implemented in R. The objective is to analyze how race-related factors influence performance through data-driven modeling.


🎯 Problem Statement

Formula 1 performance is influenced by multiple dynamic variables during a race. This project aims to model the relationship between key race conditions and driver performance using a supervised machine learning approach.


📊 Project Overview

The model is trained on simulated Formula 1 telemetry data, incorporating essential performance-influencing factors such as:

  • Tyre degradation
  • Track temperature
  • Fuel load

The project showcases a complete regression modeling workflow, from feature selection to performance prediction.


🧠 Machine Learning Approach

  • Algorithm: Random Forest (Regression)
  • Learning Type: Supervised Learning
  • Data Type: Simulated telemetry data
  • Objective: Predict driver performance metrics

🛠️ Technologies & Libraries

  • R Programming Language
  • randomForest – Ensemble-based regression modeling
  • dplyr – Data manipulation and preprocessing

✨ Key Features

  • End-to-end machine learning pipeline in R
  • Ensemble learning using Random Forest
  • Clean and modular code structure
  • Beginner-friendly implementation
  • Introduction to sports analytics using ML

📸 Screenshots

Model Output Example


📈 Results Snapshot

  • Successfully models the impact of race conditions on driver performance
  • Demonstrates the effectiveness of ensemble learning for regression tasks
  • Provides a scalable foundation for real-world telemetry integration

🔮 Future Enhancements

  • Integration of real-world Formula 1 telemetry data
  • Inclusion of evaluation metrics (RMSE, R²)
  • Feature importance visualization
  • Comparison with alternative regression models

📌 Applications

  • Machine learning practice using R
  • Sports analytics projects
  • Academic and portfolio demonstrations

⭐ If you find this project useful, feel free to star the repository!

About

his R project uses the Random Forest algorithm to predict F1 driver performance based on simulated data like tyre degradation, track temperature, and fuel level. It showcases basic regression modeling using randomForest and dplyr in R.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors