Skip to content

garg-khushi/f1-race-prediction-ml

Repository files navigation

🏎️ F1 Race Predictor

A machine learning project exploring race prediction models using Formula 1 historical data.

Status: Data science learning project
Tech Stack: Python, Jupyter Notebooks, Scikit-learn, Pandas, Matplotlib


📊 Project Goal

This project explores:

  • Analyzing historical F1 race data
  • Building predictive models for race outcomes
  • Feature engineering from race statistics
  • Model evaluation and performance analysis

📁 Repository Structure

├── 01_download_data...      # Data collection scripts
├── 02_build_features...     # Feature engineering notebooks
├── 03_train_and_anal...     # Model training and analysis
├── R/                       # R analysis files
├── results/                 # Output and visualizations
├── results_extra/           # Additional analysis
└── holdout_extra/          # Holdout test data

🛠️ Tech Stack

  • Language: Python
  • Data Processing: Pandas
  • Machine Learning: Scikit-learn
  • Visualization: Matplotlib
  • Notebooks: Jupyter

📆 How to Use

  1. Clone the repository
  2. Install Python dependencies: pip install pandas scikit-learn matplotlib jupyter
  3. Open Jupyter and explore the notebooks in order:
    • 01_download_data... - Load and explore F1 data
    • 02_build_features... - Feature engineering
    • 03_train_and_anal... - Model training

📋 What's Implemented

✅ Data collection and preprocessing
✅ Feature engineering from race statistics
✅ Model training with multiple algorithms
✅ Performance evaluation and comparison
✅ Visualization of results


💧 Learning Focus

  • Exploratory data analysis (EDA)
  • Feature selection and engineering
  • Model selection and hyperparameter tuning
  • Evaluation metrics for classification/regression
  • Jupyter-based data science workflow

🚧 Future Improvements

  • Deploy predictive model as API
  • Real-time race prediction updates
  • Incorporate live race data
  • Advanced feature engineering
  • Ensemble methods

📚 References


Status: Actively exploring ML concepts
Last Updated: January 2026

About

Machine learning pipeline for Formula 1 race outcome prediction using historical data, feature engineering, and model evaluation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages