Skip to main content
QUICK REVIEW

[论文解读] Scikit-mobility: a Python library for the analysis, generation and risk assessment of mobility data

Luca Pappalardo, Filippo Simini|arXiv (Cornell University)|Jul 8, 2019
Human Mobility and Location-Based AnalysisSocial Sciences被引用 47
一句话总结

Scikit-mobility 是一个 Python 库,提供加载、预处理、分析、模拟和评估移动数据隐私风险的工具,将轨迹和流表示与绘图和移动性度量相结合。它扩展了用于便捷移动数据处理和可视化的 pandas 数据结构。

ABSTRACT

The last decade has witnessed the emergence of massive mobility data sets, such as tracks generated by GPS devices, call detail records, and geo-tagged posts from social media platforms. These data sets have fostered a vast scientific production on various applications of mobility analysis, ranging from computational epidemiology to urban planning and transportation engineering. A strand of literature addresses data cleaning issues related to raw spatiotemporal trajectories, while the second line of research focuses on discovering the statistical "laws" that govern human movements. A significant effort has also been put on designing algorithms to generate synthetic trajectories able to reproduce, realistically, the laws of human mobility. Last but not least, a line of research addresses the crucial problem of privacy, proposing techniques to perform the re-identification of individuals in a database. A view on state of the art cannot avoid noticing that there is no statistical software that can support scientists and practitioners with all the aspects mentioned above of mobility data analysis. In this paper, we propose scikit-mobility, a Python library that has the ambition of providing an environment to reproduce existing research, analyze mobility data, and simulate human mobility habits. scikit-mobility is efficient and easy to use as it extends pandas, a popular Python library for data analysis. Moreover, scikit-mobility provides the user with many functionalities, from visualizing trajectories to generating synthetic data, from analyzing statistical patterns to assessing the privacy risk related to the analysis of mobility data sets.

研究动机与目标

  • 提供一个综合的 Python 环境,用于复现实验移动性研究并跨轨迹与流表示分析移动数据。
  • 提供用于移动轨迹和流的数据加载、清洗和预处理工具。
  • 启用标准移动性度量的计算并支持生成性移动模型。
  • 包含隐私风险评估工具,用以模拟对移动数据集的再识别攻击。

提出的方法

  • 将 TrajDataFrame 和 FlowDataFrame 作为用于轨迹和流的扩展 Pandas DataFrame 引入(可选的 uid/tid 和 tessellation 支持)。
  • 支持从多种格式加载数据,并与 geopandas 集成以实现 tessellations。
  • 提供预处理方法:噪声过滤、停留点检测和轨迹压缩。
  • 使用 Folium 地图实现轨迹、停留点、日记、镶嵌/网格和流的可视化工具。
  • 纳入用于个人与集体分析的移动度量模块(例如转动半径、基于熵的度量)。
  • 包括如 EPR、引力和辐射模型等机制性生成模型,用于模拟移动性,计划在未来版本中增加下一个位置预测。
  • 提供隐私风险评估框架,用于对移动数据模拟再识别攻击。

实验结果

研究问题

  • RQ1移动性数据如何在统一的 Python 库中表示、加载和可视化?
  • RQ2需要哪些预处理与分析工具,以在单一包内复现实验移动性研究并进行扩展?
  • RQ3如何生成能反映已知移动规律的合成移动数据,以及如何量化移动数据集的隐私风险?
  • RQ4实践者在移动分析中应具备的核心移动性度量和模型有哪些?
  • RQ5今后版本能否扩展以处理更多移动领域和参考系?

主要发现

  • 该库提供 TrajDataFrame 和 FlowDataFrame 作为基于 Pandas 的轨迹与流数据结构,支持 GIS。
  • 它提供用于噪声过滤、停留点检测和轨迹压缩的预处理工具,便于数据清洗。
  • 它通过交互式地图实现轨迹、停留点、日记、镶嵌/网格和流的可视化能力。
  • 它实现个人与群体的主要移动度量,并支持使用著名模型(EPR、引力、辐射)生成合成轨迹。
  • 一个隐私风险模块能够在给定移动数据集的前提下模拟在各种攻击下的再识别风险。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。