five

Beyond absolute space: Modeling disease dispersion and reactive actions from a multi-spatialization perspective

收藏
Figshare2025-09-15 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/_b_Beyond_absolute_space_Modeling_disease_dispersion_and_reactive_actions_from_a_multi-spatialization_perspective_b_/28095128
下载链接
链接失效反馈
官方服务:
资源简介:
OverviewThis document provides instructions on how to use the data and code associated with the manuscript titled “Beyond absolute space: Modeling disease dispersion and reactive actions from a multi-spatialization perspective”. The following sections will guide you through the setup, data structure, code execution, expected output, and any additional notes necessary for reproducing the results presented in the manuscript.Table of Contents· Requirements· Data files· Code structure· Running the code· Expected Output· Troubleshooting==========================================================RequirementsOperating system· Windows 7 or higher (recommended)· UbuntuSoftware· Python (version 2.7 or higher) or Jupyter NotebookRequired libraries: numpy, pandas, scipy, matplotlib, pgmpyData filesSurvey_data_processed_Anonymized.csvProtectiveAction_Anonymized.csvThese two data files have been pre-processed from the raw survey data to support the Python code for generating Figures 3, 4, 5, and 6. To protect the privacy and confidentiality of human research participants, all personal information has been excluded in the pre-processing.The data files include anonymized individual record IDs, self-reported weekly symptoms (for themselves and others), protective actions taken, and the service places they visited each week (20 types). The data files also include information regarding the daily volume of visits and the presence of infectious visitors at the 20 types of service places.Code structure· / Firstlayer_ModifyandUpload.ipynbThis is the code file for the first layer of the Bayesian network analysis and SHAP analysis.· / SecondLayerProtectiveAction.ipynbThis is the code file for the second layer of the Bayesian network analysis and SHAP analysis.Running the Code· To run the Python code (preferably in Jupyter Notebook), ensure that all dependencies are installed by running: pip install pandas pgmpy. These dependencies are specified at the beginning of the file.Expected Output· Running the provided Python script will generate the specified figures below. Note that the labels and axis text of the figures are adjusted in the manuscript for readability and to ensure consistency with the manuscript.Firstlayer_ModifyandUpload.ipynb· Figure 3 – Generated in the script (Cell 3, line 85).· Figure 4 – Generated in the script (Cell 4, line 101).SecondLayerProtectiveAction.ipynb· Figure5 – Generated in the script (Cell 3, line 65).· Figure 6 – Generated in the script (line 150). Part of the Figure 5 was generated in ArcGIS Pro.Note:· Table 1 is created directly in Microsoft PowerPoint. Refer to Figures & Table.pptx.· Figures 1 and 2 is created directly in Microsoft PowerPoint. Refer to Figures & Table.pptx.TroubleshootingIf you encounter issues while running the script, check the following:· Missing Data Files: Ensure all required data files are in the same directory as the script or that the correct file paths are specified.· Library/Package Errors: Ensure that all necessary libraries and packages are installed. Use pip install as needed.
创建时间:
2025-09-15
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作