sequence_id stringlengths 12 12 | events listlengths 14 200 |
|---|---|
20190401_000 | [
{
"t": 1.0621594444444444,
"x": -73.94177072453039,
"y": 40.78776608028819
},
{
"t": 1.4670541666666668,
"x": -73.9947953760633,
"y": 40.75097632046819
},
{
"t": 1.633000277777778,
"x": -73.98685961371052,
"y": 40.74492424644238
},
{
"t": 1.7232541666666668,
"... |
20190401_001 | [
{
"t": 0.9223322222222222,
"x": -73.97540071406208,
"y": 40.75480598277925
},
{
"t": 2.145596388888889,
"x": -74.00111989107737,
"y": 40.70864524875948
},
{
"t": 2.190595,
"x": -73.99037333935911,
"y": 40.714201935821
},
{
"t": 2.2558369444444444,
"x": -73.984... |
20190401_002 | [
{
"t": 0.735163888888889,
"x": -73.99942308981491,
"y": 40.744690379800495
},
{
"t": 1.2884702777777777,
"x": -73.99097063570333,
"y": 40.75644038621002
},
{
"t": 1.5437394444444446,
"x": -74.0003553675159,
"y": 40.73644452061717
},
{
"t": 1.8318283333333334,
... |
20190401_003 | [
{
"t": 1.585455,
"x": -73.98091489357884,
"y": 40.72997747178536
},
{
"t": 2.0341127777777777,
"x": -73.95288040650486,
"y": 40.67547533361047
},
{
"t": 2.2128719444444442,
"x": -74.00346670986953,
"y": 40.683682250839745
},
{
"t": 2.4065055555555555,
"x": -73... |
20190401_004 | [
{
"t": 0.0835713888888889,
"x": -73.988455919592,
"y": 40.748564597315536
},
{
"t": 1.1189055555555556,
"x": -73.99393265394319,
"y": 40.75915591430471
},
{
"t": 1.9470516666666668,
"x": -73.99373017983426,
"y": 40.76008149572555
},
{
"t": 2.0344133333333336,
... |
20190401_005 | [
{
"t": 0.8455108333333333,
"x": -74.00950703100563,
"y": 40.72469902828287
},
{
"t": 1.2798663888888888,
"x": -73.97037041635187,
"y": 40.75404151424237
},
{
"t": 1.3561519444444445,
"x": -73.9981023913961,
"y": 40.760938337334075
},
{
"t": 1.8544175,
"x": -73... |
20190401_006 | [
{
"t": 0.4252916666666666,
"x": -73.98827844493171,
"y": 40.76027471215487
},
{
"t": 1.0628566666666666,
"x": -73.99152141043068,
"y": 40.754439073534755
},
{
"t": 2.393373611111111,
"x": -74.00915804245238,
"y": 40.713428532861265
},
{
"t": 3.1192291666666665,
... |
20190401_007 | [
{
"t": 1.4736680555555557,
"x": -73.97755021886391,
"y": 40.752635564821
},
{
"t": 1.48232,
"x": -74.0001498494921,
"y": 40.67825225992786
},
{
"t": 1.5558702777777778,
"x": -73.99146090225844,
"y": 40.75914138565478
},
{
"t": 1.6546752777777778,
"x": -73.9797... |
20190401_008 | [
{
"t": 0.26255083333333334,
"x": -73.97227710341656,
"y": 40.69256230828579
},
{
"t": 1.1890966666666667,
"x": -73.93511599731852,
"y": 40.79654243517197
},
{
"t": 1.2647030555555554,
"x": -73.95190260390629,
"y": 40.70858068295011
},
{
"t": 1.3209149999999998,
... |
20190401_009 | [
{
"t": 0.4258558333333333,
"x": -74.00217610343037,
"y": 40.7310523472541
},
{
"t": 0.8502133333333333,
"x": -73.93999643323318,
"y": 40.70693134065494
},
{
"t": 1.604318611111111,
"x": -73.9950663272147,
"y": 40.75053463795335
},
{
"t": 2.416188888888889,
"x"... |
20190401_010 | [
{
"t": 0.9135752777777778,
"x": -73.98984278426317,
"y": 40.726452240283805
},
{
"t": 1.043833888888889,
"x": -73.9766626365323,
"y": 40.72288680476697
},
{
"t": 1.1555752777777777,
"x": -73.94712101367799,
"y": 40.7841690224785
},
{
"t": 1.3679099999999997,
"... |
20190401_011 | [
{
"t": 1.5370736111111112,
"x": -73.98863855159873,
"y": 40.75963668012343
},
{
"t": 1.7885950000000002,
"x": -73.98931504759123,
"y": 40.72572887966014
},
{
"t": 1.8670097222222222,
"x": -74.00644415224264,
"y": 40.70550318871433
},
{
"t": 2.2297175,
"x": -73... |
20190401_012 | [
{
"t": 0.7737672222222222,
"x": -73.97345977798791,
"y": 40.76476364298998
},
{
"t": 1.2707388888888889,
"x": -73.97159242358276,
"y": 40.793658282604575
},
{
"t": 1.4360430555555554,
"x": -73.99379152849679,
"y": 40.75786899631697
},
{
"t": 1.4995450000000001,
... |
20190401_013 | [
{
"t": 0.4140986111111111,
"x": -73.99890466306088,
"y": 40.68443557264109
},
{
"t": 1.5216430555555553,
"x": -73.99966049177394,
"y": 40.71175985959944
},
{
"t": 1.6074913888888889,
"x": -73.97805050924917,
"y": 40.75165169243663
},
{
"t": 1.8645877777777777,
... |
20190401_014 | [
{
"t": 0.4258558333333333,
"x": -74.00126477306159,
"y": 40.72991089668046
},
{
"t": 0.9351397222222223,
"x": -73.93723404936937,
"y": 40.69756362151811
},
{
"t": 1.5946711111111112,
"x": -73.96662996495638,
"y": 40.75575798629872
},
{
"t": 1.9852244444444445,
... |
20190401_015 | [
{
"t": 0.4368141666666666,
"x": -73.98351398288324,
"y": 40.66394683029003
},
{
"t": 0.9387827777777777,
"x": -73.96564994148619,
"y": 40.71201080018464
},
{
"t": 1.0580013888888888,
"x": -73.98930358623142,
"y": 40.721982226300575
},
{
"t": 1.653956388888889,
... |
20190401_016 | [
{
"t": 0.6801158333333334,
"x": -74.0030804274294,
"y": 40.73007131697725
},
{
"t": 1.6553294444444444,
"x": -73.99887452538408,
"y": 40.7602293182766
},
{
"t": 2.033666388888889,
"x": -73.97330467844984,
"y": 40.747776224491226
},
{
"t": 2.1719738888888886,
"... |
20190401_017 | [
{
"t": 1.6158508333333332,
"x": -73.95193365278823,
"y": 40.712247011960095
},
{
"t": 1.7445866666666665,
"x": -73.9796919431157,
"y": 40.74310568897549
},
{
"t": 1.8297108333333334,
"x": -74.00113939103676,
"y": 40.73999168985966
},
{
"t": 2.0857747222222223,
... |
20190401_018 | [
{
"t": 1.299403888888889,
"x": -73.98151693351717,
"y": 40.67878532395058
},
{
"t": 1.6216077777777778,
"x": -73.99942247316567,
"y": 40.67852327211793
},
{
"t": 2.274729722222222,
"x": -73.99367274860585,
"y": 40.762588923536846
},
{
"t": 2.340016666666666,
"... |
20190401_019 | [
{
"t": 1.604803888888889,
"x": -73.96825956225457,
"y": 40.79181832372009
},
{
"t": 1.7468966666666668,
"x": -73.9867199492048,
"y": 40.66884390139925
},
{
"t": 1.8637816666666667,
"x": -74.00103384431742,
"y": 40.741659887265314
},
{
"t": 2.5520472222222224,
... |
20190402_000 | [
{
"t": 0.12655,
"x": -73.95995848791642,
"y": 40.67605319690293
},
{
"t": 1.6451463888888889,
"x": -73.98085368880129,
"y": 40.7796141151134
},
{
"t": 1.6540619444444442,
"x": -73.99063681855328,
"y": 40.766101918734336
},
{
"t": 2.135808333333333,
"x": -73.99... |
20190402_001 | [
{
"t": 0.6230758333333333,
"x": -73.9920278719155,
"y": 40.748840253510444
},
{
"t": 1.1719005555555555,
"x": -73.96700803818385,
"y": 40.754495772794996
},
{
"t": 1.8586191666666667,
"x": -73.98537375601862,
"y": 40.723203952871714
},
{
"t": 2.342191944444444,
... |
20190402_002 | [
{
"t": 0.32554444444444447,
"x": -74.00787426326359,
"y": 40.7357737224638
},
{
"t": 0.5300138888888889,
"x": -73.99087383581576,
"y": 40.749783797537155
},
{
"t": 1.4533780555555558,
"x": -74.00163617660534,
"y": 40.750683562278525
},
{
"t": 1.6552736111111108,
... |
20190402_003 | [
{
"t": 1.3760261111111114,
"x": -73.97996361799545,
"y": 40.72913889656777
},
{
"t": 1.7439847222222222,
"x": -73.97278567819053,
"y": 40.78487307869857
},
{
"t": 2.0094097222222222,
"x": -74.00129362507204,
"y": 40.70737675073913
},
{
"t": 2.3060430555555556,
... |
20190402_004 | [
{
"t": 1.2131830555555554,
"x": -73.96994906635095,
"y": 40.688779795725175
},
{
"t": 1.4305536111111112,
"x": -73.9944757505556,
"y": 40.76023306999439
},
{
"t": 1.8094927777777776,
"x": -73.98200452852248,
"y": 40.735831928545934
},
{
"t": 2.1025130555555553,
... |
20190402_005 | [
{
"t": 1.4783052777777779,
"x": -73.97767161824089,
"y": 40.720887539534694
},
{
"t": 1.7489138888888889,
"x": -73.95851903202357,
"y": 40.75848070364637
},
{
"t": 2.273555277777778,
"x": -73.98020436871185,
"y": 40.73966455752977
},
{
"t": 2.401499166666667,
... |
20190402_006 | [
{
"t": 0.8158969444444444,
"x": -73.93849205951624,
"y": 40.79267343524172
},
{
"t": 2.2005444444444446,
"x": -73.95248107966586,
"y": 40.791400433775
},
{
"t": 2.3818877777777776,
"x": -73.98139360958207,
"y": 40.73169544514937
},
{
"t": 2.4139669444444447,
"... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
CitiBike STPP Benchmark Dataset
A benchmark-ready Spatio-Temporal Point Process (STPP) dataset derived from CitiBike NYC trip data (2019), following the official split semantics of the Neural STPP paper.
Dataset Description
Each record represents a sequence of bike-trip departure events associated
with a specific start station on a specific day in 2019.
The dataset covers April–August 2019, partitioned into train / val / test by
date range.
Source Format
Raw data was stored in a NumPy .npz archive (citibike_2019.npz).
Each key in the archive is a string of the form YYYYMMDD_XXX, where:
YYYYMMDDis the date (e.g.20190401)XXXis a zero-padded station index (e.g.000–019)
Each key maps to a (N, 3) float64 array with columns [t, x, y].
Sequence Unit
One .npz key = one sequence.
No new windowing or segmentation was applied. The original benchmark sequence
unit from the Neural STPP repo is preserved exactly.
Event Schema
| Field | Type | Description |
|---|---|---|
t |
float | Time of event — fractional hours within the day (e.g. 1.06 = 1:03 AM) |
x |
float | Longitude of trip start station (NYC range ≈ −74.02 to −73.91) |
y |
float | Latitude of trip start station (NYC range ≈ 40.68 to 40.80) |
Values are exported as-is — no normalization applied.
The Neural STPP codebase applies StdScaler normalization at training time,
not during preprocessing.
Split Semantics
| Split | Date Range | Keys matching | Sequences |
|---|---|---|---|
| train | 2019-04-01–2019-07-31 | 20190[4567]DD_XXX |
2440 |
| val | 2019-08-01–2019-08-15 | 201908DD_XXX where DD ≤ 15 |
300 |
| test | 2019-08-16–2019-08-31 | 201908DD_XXX where DD > 15 |
320 |
Split logic mirrors CitibikeDS.splits in the Neural STPP codebase —
no random splitting, no reshuffling.
File Structure
citibike-stpp/
├── train.jsonl # 2440 sequences
├── val.jsonl # 300 sequences
├── test.jsonl # 320 sequences
├── splits.json # {"train": [...], "val": [...], "test": [...]}
├── dataset_meta.json # Task/schema metadata
└── README.md
JSONL Row Schema
Each line in a .jsonl file is a JSON object:
{
"sequence_id": "20190401_000",
"events": [
{"t": 1.062, "x": -73.976, "y": 40.751},
{"t": 2.318, "x": -73.991, "y": 40.748},
...
]
}
Example (Python)
import json
with open("train.jsonl") as f:
for line in f:
seq = json.loads(line)
sid = seq["sequence_id"] # e.g. "20190401_000"
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: CitiBike System Data
Made available under the CitiBike Data License Agreement. - Processing code reference: facebookresearch/neural_stpp (MIT License)
Version 1.0.1 Time Ordering Fix
The original 1.0.0 export preserved source event order in train.jsonl, but 255 train sequences contained non-increasing adjacent event times. Version 1.0.1 applies a deterministic data-level repair: events are stable-sorted by t within each sequence, and the single remaining exact timestamp tie is advanced with numpy.nextafter(prev_t, +inf). Validation requires np.diff(times) > 0 for every sequence in train/val/test.
- Downloads last month
- 25