Draichi
commited on
Commit
•
43ee3f5
0
Parent(s):
doc: add README
Browse files- .gitattributes +1 -0
- README.md +77 -0
.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*.db filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# FastF1 Predictions
|
2 |
+
|
3 |
+
## Overview
|
4 |
+
|
5 |
+
FastF1 Predictions is an innovative project aimed at predicting lap times in Formula 1 using telemetry data. Accurate lap time predictions are crucial in Formula 1 as they can influence strategic decisions during races, qualifying, and practice sessions. By leveraging advanced machine learning algorithms, FastF1 Predictions seeks to provide precise and reliable predictions to enhance the competitive edge of teams and drivers.
|
6 |
+
|
7 |
+
## Purpose
|
8 |
+
|
9 |
+
The primary goal of FastF1 Predictions is to utilize historical race data and telemetry to forecast lap times. This predictive capability can aid in optimizing race strategies, making informed decisions on tire changes, and evaluating driver performance. The project employs machine learning techniques, specifically Random Forest and Gradient Boosted Decision Trees, to build robust predictive models.
|
10 |
+
|
11 |
+
## Project Structure
|
12 |
+
|
13 |
+
Currently, the project includes:
|
14 |
+
|
15 |
+
- **notebooks/**: A directory containing Jupyter notebooks.
|
16 |
+
- **lap_time_prediction.ipynb**: A demonstration notebook showcasing how to use the algorithms to predict lap times based on historical telemetry data.
|
17 |
+
|
18 |
+
Future updates will expand the repository with more resources, including additional notebooks, scripts, and enhanced functionalities.
|
19 |
+
|
20 |
+
## Setup Instructions
|
21 |
+
|
22 |
+
To get started with FastF1 Predictions, follow these steps:
|
23 |
+
|
24 |
+
### Prerequisites
|
25 |
+
|
26 |
+
Ensure you have Python installed (version 3.9).
|
27 |
+
|
28 |
+
### Installation
|
29 |
+
|
30 |
+
1. Clone the repository:
|
31 |
+
|
32 |
+
```sh
|
33 |
+
git clone https://github.com/yourusername/fastf1-predictions.git
|
34 |
+
cd fastf1-predictions
|
35 |
+
```
|
36 |
+
|
37 |
+
2. Create a virtual environment:
|
38 |
+
|
39 |
+
```sh
|
40 |
+
# Using Conda (recommended)
|
41 |
+
conda create -n fastf1-predictions python=3.9
|
42 |
+
|
43 |
+
# Using venv
|
44 |
+
python -m venv venv
|
45 |
+
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
|
46 |
+
```
|
47 |
+
|
48 |
+
3. Install the required dependencies:
|
49 |
+
```sh
|
50 |
+
pip install -r requirements.txt
|
51 |
+
```
|
52 |
+
|
53 |
+
### Running the Notebook
|
54 |
+
|
55 |
+
1. Navigate to the `notebooks` directory:
|
56 |
+
|
57 |
+
```sh
|
58 |
+
cd notebooks
|
59 |
+
```
|
60 |
+
|
61 |
+
2. Launch Jupyter Notebook:
|
62 |
+
|
63 |
+
```sh
|
64 |
+
jupyter notebook
|
65 |
+
```
|
66 |
+
|
67 |
+
3. Open `lap_time_prediction.ipynb` and run the cells to see the lap time prediction in action.
|
68 |
+
|
69 |
+
## Vision for the Future
|
70 |
+
|
71 |
+
The potential for FastF1 Predictions is immense. As we continue to gather more data and refine our models, we aim to incorporate additional data sources such as weather conditions. Moreover, we plan to explore advanced modeling techniques, including deep learning and reinforcement learning methods, to further enhance prediction accuracy.
|
72 |
+
|
73 |
+
Stay tuned for updates, and thank you for your support!
|
74 |
+
|
75 |
+
---
|
76 |
+
|
77 |
+
Feel free to reach out if you have any questions or need further assistance. Happy predicting!
|