Skip to main content

Generate synthetic trajectories using PLMs

Project description

Trajectory data sourced, from GPS-enabled devices such as smart vehicles and smart phones, offers valuable insights into human movement patterns across various modes of transportation. However, there is limited availability of such large datasets for testing and benchmarking tools and solutions. Drawing on similarities between trajectories in mobility data and natural language sentences, we explore the application of probabilistic language models to generate arbitrarily large realistic trajectories by treating sequences of GPS points as sequences of tokens, akin to sentences in natural language. Our experiments have shown that, using a small sample of real taxi trajectories, the proposed approach can generate a diverse set of synthetic trajectories that follows closely the distribution of the original sample.

Change Log

0.1 (02/06/2024)

  • First Release

0.3a1 (16/06/2025)

  • First pre-release version following bug fix in version 0.2

0.3b1 (18/06/2025)

  • First beta version

0.3b2 (18/06/2025)

  • Second beta version

0.3b3 (18/06/2025)

  • Third beta version

0.3 (29/07/2025)

  • Third Release

0.3.2 (01/08/2025)

  • Release a patch that add additonal metadata to the library

0.3.3a1 (04/10/2025)

  • Add new function and classes for handling 3D trajectory data

0.3.3a2 (04/10/2025)

  • Fix attribute error in 3D representation of Shapely Point objects

0.3.3a3 (04/10/2025)

  • Fix a minor error in how 3D data is processed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

palmto_gen-0.3.3a3.tar.gz (13.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palmto_gen-0.3.3a3-py3-none-any.whl (13.8 MB view details)

Uploaded Python 3

File details

Details for the file palmto_gen-0.3.3a3.tar.gz.

File metadata

  • Download URL: palmto_gen-0.3.3a3.tar.gz
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for palmto_gen-0.3.3a3.tar.gz
Algorithm Hash digest
SHA256 5460f43de85d30be7be1482607e1dd656c7a24041e810d719fb11c6fbbc9bd55
MD5 848d330225ddb1ff9f7e610dbe501fed
BLAKE2b-256 dd87e59eb58e3125b68edbd6597ef83bfb45d2408bbe36242a3bf0f08f94951a

See more details on using hashes here.

File details

Details for the file palmto_gen-0.3.3a3-py3-none-any.whl.

File metadata

  • Download URL: palmto_gen-0.3.3a3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for palmto_gen-0.3.3a3-py3-none-any.whl
Algorithm Hash digest
SHA256 e311f0a222252aa6dbd6c3da2429cb2381a1387697a9cd29fc660b6030afc0d3
MD5 3956bacf77db024187ce70cfe2ce9159
BLAKE2b-256 cf713632c92f90febd36b6c59db85c1dc868c9e8150eb19b04a6788dfe52ec61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page