End-to-End Case Study¶
Real dataset, real numbers, one click. This is the fastest way to watch Seahorse do something real: it installs from PyPI, loads the Citibike spatio-temporal dataset, explores it on a map, trains a baseline and a neural model, scores both under one metric, and visualizes the predictions — all on CPU, in a few minutes.
Open the case study in ColabCitibike · CPU-only · no local setup
What the notebook walks through¶
-
1
Install and load real data
pip install seahorse-stpp, thenload_dataset("citibike")pulls the Citibike splits straight from the Hugging Face hub — no manual download. -
2
Explore it like a practitioner
Inspect events per sequence, the daily ride rhythm, and a map of ride density across New York City — the spatial pattern a model has to capture.
-
3
Train a baseline and a neural model
Fit
PoissonGMMas a fast parametric baseline andDeepSTPPas the neural model — the samefit()call for both. -
4
Evaluate head-to-head
Score both on held-out test sequences and compare
test_nllunder one shared metric definition — comparable by construction. -
5
Visualize on the map
Sample next events with
predict_nextand plot the model's predicted ride locations against the true next event, over the NYC map.
Why this dataset¶
- Real, not synthetic — Citibike is the lightest real public dataset in the catalog, so it runs on a free CPU runtime.
- Comparable by construction — the baseline and the neural model share the same splits, normalization, and metric, so the numbers actually mean something.
- One click — the notebook installs the published package; nothing to clone or configure.
Then go deeper¶
- Dataset Catalog — swap Citibike for any of the 13 datasets.
- Run a Benchmark — compare many presets and seeds.
- Python API — the full programmatic surface behind the notebook.