Formula-1-Predictor

🏎️ F1 Neural Network Predictor - Live F1DB System

Advanced Formula 1 driver position prediction using deep learning neural networks powered by live F1DB data updated after every race weekend.

🔥 Live Data Integration

✅ F1DB Database: https://github.com/f1db/f1db
✅ Real-time Updates: Data refreshed after every race weekend
✅ Authentic Data: 75+ years of genuine F1 history (1950-2025)
✅ Current Season: 2025 data through Hungarian Grand Prix


🏁 2025 Race Predictions

🏆 Predicted Podium (F1DB v2025.14.0)

  1. 🥇 Alexander Albon (Williams)
  2. 🥈 Andrea Kimi Antonelli (Mercedes)
  3. 🥉 Carlos Sainz (Williams)

📊 Model Performance


🚀 Quick Start

Run F1DB System

# Install dependencies
pip3 install --break-system-packages -r requirements.txt

# Run the complete F1DB system
python3 run_f1db_system.py

# Or run neural network directly
python3 f1db_neural_predictor.py

Web Application

# Start local web app
python3 run_web_demo.py
# Visit: http://localhost:8000

# Deploy to GitHub Pages
git add . && git commit -m "F1DB live system" && git push
# Visit: https://ihackmer19.github.io/Formula-1-Predictor

🧠 Neural Network Architecture

Enhanced F1DB Model

F1DB Features


📊 F1DB Data Overview

Dataset Scale

Current Season (2025)


🔄 Automatic Updates

F1DB Auto-Updater

# Manual update check
python3 f1db_auto_updater.py

# Continuous monitoring
python3 f1db_update_service.py

Update Schedule

Update Process

  1. Monitor: Check F1DB GitHub releases
  2. Download: Latest CSV data automatically
  3. Retrain: Neural network with new data
  4. Deploy: Update web app predictions
  5. Log: Track all update attempts

🌐 Web Application

Live Features

GitHub Pages Deployment

# Enable GitHub Pages in repository settings
# Source: Deploy from 'docs' folder
# URL: https://ihackmer19.github.io/Formula-1-Predictor

📁 Project Structure

├── 🔥 F1DB CORE SYSTEM
│   ├── f1db_neural_predictor.py    # Main F1DB neural network
│   ├── f1db_auto_updater.py       # Automatic update system
│   ├── run_f1db_system.py         # System interface
│   └── f1db_version.txt           # Current F1DB version
│
├── 📊 LIVE F1DB DATA
│   ├── f1db-races.csv             # Race information
│   ├── f1db-races-race-results.csv # Race results (27K+ results)
│   ├── f1db-drivers.csv           # Driver database (912 drivers)
│   ├── f1db-constructors.csv      # Constructor data (185 teams)
│   └── f1db-*.csv                 # Additional F1DB datasets
│
├── 🏁 PREDICTIONS & MODELS
│   ├── f1db_2025_predictions.csv  # Latest 2025 predictions
│   ├── f1db_best_model.h5         # Trained neural network
│   ├── f1db_model_evaluation.png  # Performance analysis
│   └── f1db_update_log.json       # Update history
│
├── 🌐 WEB APPLICATION
│   └── docs/                      # GitHub Pages app
│       ├── index.html             # F1DB-integrated interface
│       ├── data/f1db_predictions.* # Live prediction data
│       └── js/app.js              # F1DB data loading
│
└── 📖 DOCUMENTATION
    ├── F1DB_LIVE_SYSTEM.md        # F1DB integration guide
    ├── README.md                  # This file
    └── requirements.txt           # Dependencies

🎯 Key Features

🔥 Live Data

🧠 Advanced AI

🌐 Professional Web App

🔄 Automated System


🎮 Usage Examples

Basic Prediction

# Run F1DB neural network
python3 f1db_neural_predictor.py

# View predictions
cat f1db_2025_predictions.csv

Web Interface

# Start web app locally
python3 run_web_demo.py

# Deploy to GitHub Pages
git push origin main

System Management

# Interactive system interface
python3 run_f1db_system.py

# Check for F1DB updates
python3 f1db_auto_updater.py

# Start monitoring service
python3 f1db_update_service.py

🏆 Advantages Over Static Data

🔥 F1DB vs Static Datasets

| Feature | F1DB Live | Static Kaggle | |———|———–|—————| | Updates | After every race | Fixed (2020) | | Current Data | 2025 season | Outdated | | Accuracy | High (real patterns) | Limited | | Relevance | Current drivers/teams | Historical only | | Maintenance | Community supported | Unmaintained |

🎯 Real-World Benefits


🔧 Technical Requirements

Python Dependencies

pip3 install pandas numpy scikit-learn tensorflow matplotlib seaborn requests schedule

System Requirements


🌟 Future Enhancements

Planned Features

Community Contributions


📞 Support & Community

Resources

Getting Help


🏁 Ready for 2025 F1 Season!

🔥 Your F1 Neural Network Predictor now uses live, authentic Formula 1 data!

🏎️ Experience the future of Formula 1 predictions with live data! 🏆