Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
w11wo's picture
Update README.md
68d37d0 verified
metadata
license: apache-2.0
dataset_info:
  - config_name: default
    features:
      - name: user_id
        dtype: string
      - name: trail_id
        dtype: string
      - name: inputs
        dtype: string
      - name: targets
        dtype: string
    splits:
      - name: train
        num_bytes: 18029041
        num_examples: 38732
      - name: validation
        num_bytes: 2563050
        num_examples: 5534
      - name: test
        num_bytes: 5142106
        num_examples: 11067
    download_size: 6691878
    dataset_size: 25734197
  - config_name: tabular
    features:
      - name: trail_id
        dtype: string
      - name: user_id
        dtype: int64
      - name: venue_id
        dtype: int64
      - name: latitude
        dtype: float64
      - name: longitude
        dtype: float64
      - name: name
        dtype: string
      - name: address
        dtype: string
      - name: venue_category
        dtype: string
      - name: venue_category_id
        dtype: string
      - name: venue_category_id_code
        dtype: int64
      - name: venue_city
        dtype: string
      - name: venue_city_latitude
        dtype: float64
      - name: venue_city_longitude
        dtype: float64
      - name: venue_country
        dtype: string
      - name: timestamp
        dtype: string
    splits:
      - name: train
        num_bytes: 22090077
        num_examples: 113058
      - name: validation
        num_bytes: 3124580
        num_examples: 16018
      - name: test
        num_bytes: 6288910
        num_examples: 32208
    download_size: 8074766
    dataset_size: 31503567
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: validation
        path: data/validation-*
      - split: test
        path: data/test-*
  - config_name: tabular
    data_files:
      - split: train
        path: tabular/train-*
      - split: validation
        path: tabular/validation-*
      - split: test
        path: tabular/test-*

Massive-STEPS-Bandung

huggingface huggingface arXiv GitHub

Dataset Summary

Massive-STEPS is a large-scale dataset of semantic trajectories intended for understanding POI check-ins. The dataset is derived from the Semantic Trails Dataset and Foursquare Open Source Places, and includes check-in data from 15 cities across 10 countries. The dataset is designed to facilitate research in various domains, including trajectory prediction, POI recommendation, and urban modeling. Massive-STEPS emphasizes the importance of geographical diversity, scale, semantic richness, and reproducibility in trajectory datasets.

City URL
Bandung 🇮🇩 🤗
Beijing 🇨🇳 🤗
Istanbul 🇹🇷 🤗
Jakarta 🇮🇩 🤗
Kuwait City 🇰🇼 🤗
Melbourne 🇦🇺 🤗
Moscow 🇷🇺 🤗
New York 🇺🇸 🤗
Palembang 🇮🇩 🤗
Petaling Jaya 🇲🇾 🤗
São Paulo 🇧🇷 🤗
Shanghai 🇨🇳 🤗
Sydney 🇦🇺 🤗
Tangerang 🇮🇩 🤗
Tokyo 🇯🇵 🤗

Dataset Sources

The dataset is derived from two sources:

  1. Semantic Trails Dataset:
    • Repository: D2KLab/semantic-trails
    • Paper: Monti, D., Palumbo, E., Rizzo, G., Troncy, R., Ehrhart, T., & Morisio, M. (2018). Semantic trails of city explorations: How do we live a city. arXiv preprint arXiv:1812.04367.
  2. Foursquare Open Source Places:

Dataset Structure

.
├── bandung_checkins_test.csv # test set check-ins
├── bandung_checkins_train.csv # train set check-ins
├── bandung_checkins_validation.csv # validation set check-ins
├── bandung_checkins.csv # all check-ins
├── data # trajectory prompts
│   ├── test-00000-of-00001.parquet
│   ├── train-00000-of-00001.parquet
│   └── validation-00000-of-00001.parquet
└── README.md

Data Instances

An example of entries in bandung_checkins.csv:

trail_id,user_id,venue_id,latitude,longitude,name,address,venue_category,venue_category_id,venue_category_id_code,venue_city,venue_city_latitude,venue_city_longitude,venue_country,timestamp
2013_1049,21,7846,,,,,Café,4bf58dd8d48988d16d941735,145,Bandung,-6.92222,107.60694,ID,2012-04-08 06:14:00
2013_1049,21,1571,-6.901822746392037,107.59714088606188,Anata Salon,Jl. Pasirkaliki No. 179,Salon / Barbershop,4bf58dd8d48988d110951735,31,Bandung,-6.92222,107.60694,ID,2012-04-08 08:14:00
2013_1049,21,16204,-6.882032130490735,107.61588142325239,CloudNine 254,Dago 254,Café,4bf58dd8d48988d16d941735,145,Bandung,-6.92222,107.60694,ID,2012-04-08 14:19:00
2013_1049,21,13138,-6.886794179558777,107.62350715339231,Bakso Semar Tubagus,Jl. Terusan Tubagus Ismail No. 1,Indonesian Restaurant,4deefc054765f83613cdba6f,321,Bandung,-6.92222,107.60694,ID,2012-04-08 15:19:00
2013_1049,21,791,-6.889532540654028,107.61754720850263,KANTIN AA,Jl. Kubang Selatan No. 48,Asian Restaurant,4bf58dd8d48988d142941735,105,Bandung,-6.92222,107.60694,ID,2012-04-08 17:19:00

Data Fields

Field Description
trail_id Numeric identifier of trail
user_id Numeric identifier of user
venue_id Numeric identifier of POI venue
latitude Latitude of POI venue
longitude Longitude of POI venue
name POI/business name
address Street address of POI venue
venue_category POI category name
venue_category_id Foursquare Category ID
venue_category_id_code Numeric identifier of category
venue_city Administrative region name
venue_city_latitude Latitude of administrative region
venue_city_longitude Longitude of administrative region
venue_country Country code
timestamp Check-in timestamp

Dataset Statistics

City Users Trails POIs Check-ins #train #val #test
Bandung 🇮🇩 3,377 55,333 29,026 161,284 38,732 5,534 11,067

Additional Information

License

Copyright 2024 Foursquare Labs, Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.

🔖 Citation

If you find this repository useful for your research, please consider citing our paper:

@misc{wongso2025massivestepsmassivesemantictrajectories,
  title         = {Massive-STEPS: Massive Semantic Trajectories for Understanding POI Check-ins -- Dataset and Benchmarks},
  author        = {Wilson Wongso and Hao Xue and Flora D. Salim},
  year          = {2025},
  eprint        = {2505.11239},
  archiveprefix = {arXiv},
  primaryclass  = {cs.LG},
  url           = {https://arxiv.org/abs/2505.11239}
}

Contact

If you have any questions or suggestions, feel free to contact Wilson at w.wongso(at)unsw(dot)edu(dot)au.