Datasets:
sequence_id string | events list |
|---|---|
train_0000 | [
{
"t": 0,
"x": -75.4706039428711,
"y": 40.63060760498047
},
{
"t": 0,
"x": -75.4706039428711,
"y": 40.63060760498047
},
{
"t": 0,
"x": -75.4706039428711,
"y": 40.63060760498047
},
{
"t": 0,
"x": -75.4706039428711,
"y": 40.63060760498047
},
{
"t": 0... |
train_0001 | [
{
"t": 0,
"x": -85.62516021728516,
"y": 39.45132064819336
},
{
"t": 0.0042133331298828125,
"x": -84.20185089111328,
"y": 39.77280807495117
},
{
"t": 0.008054733276367188,
"x": -84.1414794921875,
"y": 39.75067138671875
},
{
"t": 0.00989532470703125,
"x": -81.49... |
train_0002 | [
{
"t": 0,
"x": -85.1871566772461,
"y": 41.121551513671875
},
{
"t": 0.0017719268798828125,
"x": -81.51390075683594,
"y": 41.37717056274414
},
{
"t": 0.0017719268798828125,
"x": -83.03096771240234,
"y": 40.056419372558594
},
{
"t": 0.0059146881103515625,
"x": -... |
train_0003 | [
{
"t": 0,
"x": -80.00971221923828,
"y": 40.43954086303711
},
{
"t": 0.06139945983886719,
"x": -81.73009490966797,
"y": 41.42200469970703
},
{
"t": 0.26003456115722656,
"x": -82.98435974121094,
"y": 39.98170852661133
},
{
"t": 0.2801380157470703,
"x": -82.98316... |
train_0004 | [
{
"t": 0,
"x": -85.96578216552734,
"y": 39.972930908203125
},
{
"t": 0.008563995361328125,
"x": -82.97752380371094,
"y": 40.11050033569336
},
{
"t": 0.010440826416015625,
"x": -82.50975036621094,
"y": 40.75708770751953
},
{
"t": 0.0109710693359375,
"x": -81.57... |
train_0005 | [
{
"t": 0,
"x": -84.48729705810547,
"y": 39.17736053466797
},
{
"t": 0.039142608642578125,
"x": -82.22232055664062,
"y": 39.94670104980469
},
{
"t": 0.07871627807617188,
"x": -82.22232055664062,
"y": 39.94670104980469
},
{
"t": 0.08536911010742188,
"x": -84.227... |
train_0006 | [
{
"t": 0,
"x": -83.15389251708984,
"y": 40.003746032714844
},
{
"t": 0.000797271728515625,
"x": -84.09300231933594,
"y": 39.736061096191406
},
{
"t": 0.00998687744140625,
"x": -83.64745330810547,
"y": 41.37596130371094
},
{
"t": 0.018192291259765625,
"x": -84.... |
train_0007 | [
{
"t": 0,
"x": -84.14179992675781,
"y": 39.72364044189453
},
{
"t": 0.00295257568359375,
"x": -84.1388931274414,
"y": 39.75405502319336
},
{
"t": 0.0159149169921875,
"x": -84.22369384765625,
"y": 39.83199691772461
},
{
"t": 0.03223419189453125,
"x": -81.759086... |
train_0008 | [
{
"t": 0,
"x": -81.66268920898438,
"y": 40.99309158325195
},
{
"t": 0.000865936279296875,
"x": -83.09266662597656,
"y": 39.9621467590332
},
{
"t": 0.002521514892578125,
"x": -84.21878051757812,
"y": 39.697265625
},
{
"t": 0.00714111328125,
"x": -84.06182861328... |
train_0009 | [
{
"t": 0,
"x": -84.22734832763672,
"y": 39.812686920166016
},
{
"t": 0.002948760986328125,
"x": -84.1890869140625,
"y": 39.81983947753906
},
{
"t": 0.02436065673828125,
"x": -81.49976348876953,
"y": 41.09598159790039
},
{
"t": 0.027835845947265625,
"x": -85.67... |
train_0010 | [
{
"t": 0,
"x": -83.05619812011719,
"y": 39.92744064331055
},
{
"t": 0.009838104248046875,
"x": -82.91548919677734,
"y": 39.94689178466797
},
{
"t": 0.014568328857421875,
"x": -85.59039306640625,
"y": 38.31073760986328
},
{
"t": 0.0288543701171875,
"x": -81.805... |
train_0011 | [
{
"t": 0,
"x": -84.18316650390625,
"y": 39.74614715576172
},
{
"t": 0.001956939697265625,
"x": -84.17630004882812,
"y": 39.77123260498047
},
{
"t": 0.0029754638671875,
"x": -83.11922454833984,
"y": 39.97639846801758
},
{
"t": 0.00344085693359375,
"x": -82.9435... |
train_0012 | [
{
"t": 0,
"x": -82.9703140258789,
"y": 40.15301513671875
},
{
"t": 0.06269454956054688,
"x": -83.03761291503906,
"y": 39.95232009887695
},
{
"t": 0.06300735473632812,
"x": -84.20558166503906,
"y": 39.74775314331055
},
{
"t": 0.125335693359375,
"x": -82.8954086... |
train_0013 | [
{
"t": 0,
"x": -83.02457427978516,
"y": 39.995967864990234
},
{
"t": 0.00811004638671875,
"x": -83.0251235961914,
"y": 39.989994049072266
},
{
"t": 0.010532379150390625,
"x": -83.0897445678711,
"y": 40.131282806396484
},
{
"t": 0.0193023681640625,
"x": -81.692... |
train_0014 | [
{
"t": 0,
"x": -84.1836929321289,
"y": 39.788414001464844
},
{
"t": 0.01911163330078125,
"x": -82.2161865234375,
"y": 38.84363555908203
},
{
"t": 0.019733428955078125,
"x": -81.51951599121094,
"y": 41.41902160644531
},
{
"t": 0.0384979248046875,
"x": -82.97415... |
train_0015 | [
{
"t": 0,
"x": -85.5831298828125,
"y": 38.315528869628906
},
{
"t": 0,
"x": -85.57742309570312,
"y": 38.3125114440918
},
{
"t": 0.153045654296875,
"x": -85.37104797363281,
"y": 38.40032958984375
},
{
"t": 0.3674201965332031,
"x": -82.88316345214844,
"y": 3... |
train_0016 | [
{
"t": 0,
"x": -80.3919906616211,
"y": 39.10050964355469
},
{
"t": 0.003692626953125,
"x": -83.97887420654297,
"y": 39.94171142578125
},
{
"t": 0.01641082763671875,
"x": -84.18577575683594,
"y": 39.737403869628906
},
{
"t": 0.01824188232421875,
"x": -82.906921... |
train_0017 | [
{
"t": 0,
"x": -82.60993194580078,
"y": 38.38018035888672
},
{
"t": 0.022464752197265625,
"x": -84.60299682617188,
"y": 39.033470153808594
},
{
"t": 0.033946990966796875,
"x": -80.0438003540039,
"y": 40.42116165161133
},
{
"t": 0.04071807861328125,
"x": -83.34... |
train_0018 | [
{
"t": 0,
"x": -81.39778900146484,
"y": 40.805091857910156
},
{
"t": 0.06374359130859375,
"x": -85.80850982666016,
"y": 38.27040100097656
},
{
"t": 0.08835601806640625,
"x": -83.12202453613281,
"y": 39.84832763671875
},
{
"t": 0.08835601806640625,
"x": -83.112... |
train_0019 | [
{
"t": 0,
"x": -122.51658630371094,
"y": 37.8853759765625
},
{
"t": 0.00241851806640625,
"x": -117.1536865234375,
"y": 33.24834060668945
},
{
"t": 0.00275421142578125,
"x": -118.18014526367188,
"y": 33.912986755371094
},
{
"t": 0.00750732421875,
"x": -72.76094... |
train_0020 | [
{
"t": 0,
"x": -96.0910415649414,
"y": 41.248680114746094
},
{
"t": 0.0000457763671875,
"x": -74.2497787475586,
"y": 40.70915985107422
},
{
"t": 0.00006866455078125,
"x": -117.30963134765625,
"y": 33.71215057373047
},
{
"t": 0.0034942626953125,
"x": -95.985870... |
train_0021 | [
{
"t": 0,
"x": -121.51213836669922,
"y": 38.49553298950195
},
{
"t": 0.000244140625,
"x": -121.99043273925781,
"y": 38.01739501953125
},
{
"t": 0.00101470947265625,
"x": -117.5757827758789,
"y": 34.13593292236328
},
{
"t": 0.0012054443359375,
"x": -121.1279602... |
train_0022 | [
{
"t": 0,
"x": -118.0002670288086,
"y": 34.063636779785156
},
{
"t": 0.000885009765625,
"x": -117.7845458984375,
"y": 34.072845458984375
},
{
"t": 0.00141143798828125,
"x": -117.81182861328125,
"y": 34.0638542175293
},
{
"t": 0.00183868408203125,
"x": -118.555... |
train_0023 | [
{
"t": 0,
"x": -119.1985092163086,
"y": 35.56127166748047
},
{
"t": 0.00127410888671875,
"x": -71.38867950439453,
"y": 41.81930160522461
},
{
"t": 0.001922607421875,
"x": -121.62776947021484,
"y": 37.122074127197266
},
{
"t": 0.0023956298828125,
"x": -118.4740... |
train_0024 | [
{
"t": 0,
"x": -117.47318267822266,
"y": 34.13655090332031
},
{
"t": 0.00078582763671875,
"x": -122.31564331054688,
"y": 37.984291076660156
},
{
"t": 0.0012054443359375,
"x": -117.5330581665039,
"y": 33.8372917175293
},
{
"t": 0.00200653076171875,
"x": -117.49... |
train_0025 | [
{
"t": 0,
"x": -118.37407684326172,
"y": 34.14185333251953
},
{
"t": 0.00215911865234375,
"x": -73.9465103149414,
"y": 40.75333786010742
},
{
"t": 0.0028228759765625,
"x": -118.29793548583984,
"y": 34.083248138427734
},
{
"t": 0.0029754638671875,
"x": -122.463... |
train_0026 | [
{
"t": 0,
"x": -117.55831146240234,
"y": 34.067535400390625
},
{
"t": 0,
"x": -117.57572937011719,
"y": 34.06761932373047
},
{
"t": 0.011932373046875,
"x": -118.27656555175781,
"y": 34.0523567199707
},
{
"t": 0.01332855224609375,
"x": -118.29085540771484,
... |
train_0027 | [
{
"t": 0,
"x": -82.14701080322266,
"y": 39.794334411621094
},
{
"t": 0,
"x": -82.10323333740234,
"y": 39.77465057373047
},
{
"t": 0.0006256103515625,
"x": -118.32171630859375,
"y": 33.92564010620117
},
{
"t": 0.0006256103515625,
"x": -118.45895385742188,
"... |
US Accidents STPP Benchmark Dataset
A benchmark-ready Spatio-Temporal Point Process (STPP) dataset derived from US Accidents (~7.7 Million records), following the standard split semantics for Neural STPP evaluation.
Dataset Description
Each record represents a sequence of events. The dataset covers historical accident incidents across the US, partitioned sequentially into train / val / test subsets (70% / 15% / 15% ratio).
Source Format
Raw data was obtained from Kaggle (sobhanmoosavi/us-accidents).
Each sequence maps to a (N, 3) float64 array with columns [t, x, y].
Sequence Unit
One sequence corresponds to a chunk of contiguous events. No new windowing or segmentation was applied. The dataset unit aligns with benchmark STPP formulations.
Event Schema
| Field | Type | Description |
|---|---|---|
| t | float | Time of event |
| x | float | Longitude or X coordinate |
| y | float | Latitude or Y coordinate |
Values are exported as-is β no normalization applied. The Neural STPP codebase applies StdScaler normalization at training time, not during preprocessing.
Split Semantics
| Split | Sequences | Events | Ratio |
|---|---|---|---|
| train | 48,363 | 4,836,203 | 70% |
| val | 11,441 | 1,144,049 | 15% |
| test | 10,050 | 1,004,976 | 15% |
Split logic mirrors a sequential temporal split sequential_split_ratio_(0.7, 0.15, 0.15) β no random splitting, no reshuffling.
File Structure
us_accidents/
βββ train.jsonl # 48363 sequences
βββ val.jsonl # 11441 sequences
βββ test.jsonl # 10050 sequences
βββ dataset_meta.json # Task/schema metadata
βββ README.md
JSONL Row Schema
Each line in a .jsonl file is a JSON object:
{
"sequence_id": "seq_0",
"events": [
{"t": 1.062, "x": -87.629, "y": 41.878},
{"t": 2.318, "x": -87.630, "y": 41.879}
]
}
Example (Python)
import json
with open("train.jsonl") as f:
for line in f:
seq = json.loads(line)
sid = seq["sequence_id"]
events = seq["events"] # list of {"t", "x", "y"} dicts
t = [e["t"] for e in events]
x = [e["x"] for e in events]
y = [e["y"] for e in events]
Source & License
Source data: Kaggle URL: https://www.kaggle.com/datasets/sobhanmoosavi/us-accidents
Version 1.0.0 Time Ordering Fix
Version 1.0.0 applies a deterministic data-level repair: events are stable-sorted by t globally before chunking. Validation ensures non-decreasing timestamps for every sequence in train/val/test.
- Downloads last month
- 18