Upload folder using huggingface_hub
Browse files- README.md +6 -99
- test.parquet +2 -2
- train.parquet +2 -2
- val.parquet +2 -2
README.md
CHANGED
|
@@ -1,99 +1,6 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
- traffic-prediction
|
| 8 |
-
- time-series
|
| 9 |
-
- graph-neural-networks
|
| 10 |
-
- transportation
|
| 11 |
-
- spatiotemporal
|
| 12 |
-
size_categories:
|
| 13 |
-
- 10M<n<100M
|
| 14 |
-
---
|
| 15 |
-
|
| 16 |
-
# LargeST-GLA Traffic Dataset
|
| 17 |
-
|
| 18 |
-
## Dataset Description
|
| 19 |
-
|
| 20 |
-
This dataset contains traffic flow data from the Greater Los Angeles (GLA) area, preprocessed from the LargeST benchmark. It covers 3,834 traffic sensors across 5 counties (Los Angeles, Orange, San Bernardino, Riverside, Ventura) for the year 2019.
|
| 21 |
-
|
| 22 |
-
## Dataset Structure
|
| 23 |
-
|
| 24 |
-
### Data Format
|
| 25 |
-
|
| 26 |
-
- **Format**: Parquet files for efficient loading and analysis
|
| 27 |
-
- **Splits**: train (70%), validation (10%), test (20%) - **temporal splits** preserving chronological order
|
| 28 |
-
- **Features**: Time series traffic flow data with temporal and spatial dimensions
|
| 29 |
-
|
| 30 |
-
### Split Strategy
|
| 31 |
-
|
| 32 |
-
- **Temporal splitting**: Data is split chronologically to prevent data leakage
|
| 33 |
-
- **All sensors included**: Each split contains data for all sensors at each time step
|
| 34 |
-
- **Training period**: Earliest 70% of time samples across all sensors
|
| 35 |
-
- **Validation period**: Next 10% of time samples across all sensors
|
| 36 |
-
- **Test period**: Latest 20% of time samples across all sensors
|
| 37 |
-
- **Graph structure preserved**: Spatial relationships maintained in all splits
|
| 38 |
-
|
| 39 |
-
### Data Schema
|
| 40 |
-
|
| 41 |
-
- `node_id`: Sensor/node identifier (0-3833 for LargeST-GLA)
|
| 42 |
-
- `t0_timestamp`: ISO timestamp for the prediction target time
|
| 43 |
-
- `x_t*_d0`: Input features at different time offsets
|
| 44 |
-
- Traffic flow values at 12 historical time steps (t-11 to t+0)
|
| 45 |
-
- `y_t*_d0`: Target values at future time steps
|
| 46 |
-
- Traffic flow predictions for next 12 time steps (t+1 to t+12)
|
| 47 |
-
|
| 48 |
-
### Dataset Statistics
|
| 49 |
-
|
| 50 |
-
- **Region**: Greater Los Angeles Area (GLA)
|
| 51 |
-
- **Time period**: 2019 (full year)
|
| 52 |
-
- **Total sensors**: 3,834 sensors across 5 counties
|
| 53 |
-
- **Counties**: Los Angeles, Orange, San Bernardino, Riverside, Ventura
|
| 54 |
-
- **Temporal resolution**: 5-minute intervals
|
| 55 |
-
- **Prediction horizon**: 1 hour (12 time steps)
|
| 56 |
-
- **Total samples**: ~403 million samples
|
| 57 |
-
|
| 58 |
-
## Usage
|
| 59 |
-
|
| 60 |
-
```python
|
| 61 |
-
import pandas as pd
|
| 62 |
-
from datasets import load_dataset
|
| 63 |
-
|
| 64 |
-
# Load from HuggingFace Hub
|
| 65 |
-
dataset = load_dataset("emelle/LargeST-GLA")
|
| 66 |
-
|
| 67 |
-
# Or load directly from parquet
|
| 68 |
-
train_df = pd.read_parquet("hf://datasets/emelle/LargeST-GLA/train.parquet")
|
| 69 |
-
val_df = pd.read_parquet("hf://datasets/emelle/LargeST-GLA/val.parquet")
|
| 70 |
-
test_df = pd.read_parquet("hf://datasets/emelle/LargeST-GLA/test.parquet")
|
| 71 |
-
|
| 72 |
-
print(f"Train records: {len(train_df):,}")
|
| 73 |
-
print(f"Val records: {len(val_df):,}")
|
| 74 |
-
print(f"Test records: {len(test_df):,}")
|
| 75 |
-
```
|
| 76 |
-
|
| 77 |
-
## Citation
|
| 78 |
-
|
| 79 |
-
If you use this dataset, please cite the original LargeST paper:
|
| 80 |
-
|
| 81 |
-
```bibtex
|
| 82 |
-
@inproceedings{liu2023largest,
|
| 83 |
-
title={LargeST: A Benchmark Dataset for Large-Scale Traffic Forecasting},
|
| 84 |
-
author={Liu, Xu and Xia, Yutong and Liang, Yuxuan and Hu, Junfeng and Wang, Yiwei and Bai, Lei and Huang, Chao and Liu, Zhenguang and Hooi, Bryan and Zimmermann, Roger},
|
| 85 |
-
booktitle={Thirty-seventh Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
|
| 86 |
-
year={2023}
|
| 87 |
-
}
|
| 88 |
-
```
|
| 89 |
-
|
| 90 |
-
## Original Data Source
|
| 91 |
-
|
| 92 |
-
This dataset is derived from the LargeST benchmark, preprocessed to be compatible with METR-LA and PEMS-BAY formats for spatiotemporal graph neural network research.
|
| 93 |
-
|
| 94 |
-
- **Original dataset**: [LargeST on Kaggle](https://www.kaggle.com/datasets/liuxu77/largest)
|
| 95 |
-
- **Compatible with**: METR-LA, PEMS-BAY dataset formats
|
| 96 |
-
|
| 97 |
-
## License
|
| 98 |
-
|
| 99 |
-
MIT License
|
|
|
|
| 1 |
+
# LargeST-GLA Dataset
|
| 2 |
+
Preprocessed from LargeST benchmark (California traffic data).
|
| 3 |
+
Region: GLA
|
| 4 |
+
Year: 2019
|
| 5 |
+
Sensors: 3834
|
| 6 |
+
Compatible with METR-LA and PEMS-BAY format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3bce5cc05fcf5086fcc68f86cc2c44561e87bb79a741e80d8a2638ed3a03358
|
| 3 |
+
size 2590715469
|
train.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d511445b11c12b5c6720ba092aa4c4ce4276d72a2820bca6de110bfdaa47aeb
|
| 3 |
+
size 9107037606
|
val.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95a01a21702581c32d1a354a519210d19dd8b90f090a0c065da307bd162d6e91
|
| 3 |
+
size 1316048456
|