Update README.md
Browse files
README.md
CHANGED
@@ -129,4 +129,27 @@ configs:
|
|
129 |
---
|
130 |
# Dataset Card for "f1_dataset"
|
131 |
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
---
|
130 |
# Dataset Card for "f1_dataset"
|
131 |
|
132 |
+
This dataset includes race telemetry data from the Formula1 Montreail 2023 GP. It was obtained from the Ergast API using the fastf1 library.
|
133 |
+
|
134 |
+
We built an [interactive demo](https://huggingface.co/spaces/renumics/f1_montreal_gp) for this dataset on Hugging Face spaces.
|
135 |
+
|
136 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63dd29ffaf221a78fa4ec8d1/VIqh7OcI0PKOqYCGp6rDZ.png)
|
137 |
+
|
138 |
+
You can explore the dataset on your machine with [Spotlight](https://github.com/Renumics/spotlight):
|
139 |
+
|
140 |
+
```bash
|
141 |
+
pip install renumics-spotlight
|
142 |
+
```
|
143 |
+
|
144 |
+
```Python
|
145 |
+
import datasets
|
146 |
+
from renumics import spotlight
|
147 |
+
|
148 |
+
ds = datasets.load_dataset('renumics/f1_dataset', split='train')
|
149 |
+
dtypes = {"DistanceToDriverAhead": spotlight.Sequence1D, "RPM": spotlight.Sequence1D, "Speed": spotlight.Sequence1D, "nGear": spotlight.Sequence1D,
|
150 |
+
"Throttle": spotlight.Sequence1D, "Brake": spotlight.Sequence1D, "DRS": spotlight.Sequence1D, "X": spotlight.Sequence1D, "Y": spotlight.Sequence1D, "Z": spotlight.Sequence1D,
|
151 |
+
'RPM_emb': spotlight.Embedding, 'Speed_emb': spotlight.Embedding, 'nGear_emb': spotlight.Embedding, 'Throttle_emb': spotlight.Embedding, 'Brake_emb': spotlight.Embedding,
|
152 |
+
'X_emb': spotlight.Embedding, 'Y_emb': spotlight.Embedding, 'Z_emb': spotlight.Embedding}
|
153 |
+
|
154 |
+
spotlight.show(ds, dtype=dtypes)
|
155 |
+
```
|