{"id":26997188,"url":"https://github.com/adityalab/h2abm","last_synced_at":"2025-04-04T02:17:09.710Z","repository":{"id":196702058,"uuid":"695272121","full_name":"AdityaLab/H2ABM","owner":"AdityaLab","description":"Code \u0026 Demo for SDM24 Submission: H^2ABM: Heterogeneous Agent-based model on Hypergraphs to Capture Group Interactions","archived":false,"fork":false,"pushed_at":"2024-04-22T19:01:38.000Z","size":894,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-22T20:27:32.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdityaLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-22T18:29:38.000Z","updated_at":"2024-04-22T19:01:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"309e3041-0b58-43cd-a4a4-b8926b295633","html_url":"https://github.com/AdityaLab/H2ABM","commit_stats":null,"previous_names":["adityalab/h2abm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaLab%2FH2ABM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaLab%2FH2ABM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaLab%2FH2ABM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaLab%2FH2ABM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityaLab","download_url":"https://codeload.github.com/AdityaLab/H2ABM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107826,"owners_count":20884797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-04T02:17:09.024Z","updated_at":"2025-04-04T02:17:09.697Z","avatar_url":"https://github.com/AdityaLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [SDM 2024] H2ABM: Heterogeneous Agent-based Model on Hypergraphs to Capture Group Interactions (Best Poster Award)\n\n## Publication\n\nImplementation of the paper \"H2ABM: Heterogeneous Agent-based Model on Hypergraphs to Capture Group Interactions.\"\n\nAuthors: Vivek Anand*, Jiaming Cui*, Jack Heavey, Anil Vullikanti, B. Aditya Prakash\n\n*Equal contribution\n\nVenue: SDM 2024\n\nLink to the paper: https://sites.cc.gatech.edu/~jcui75/papers/h2abm-sdm24.pdf\n\nWe also release an anonymized version of the UVA dataset at: https://github.com/AdityaLab/UVA-Hypergraph/\n\n## Setup\n\nFirst install Anaconda. The dependencies are listed in `environment.yml` file. \n\nThen run the following commands:\n\n```bash\nconda env create --prefix ./envs/hhabm --file environment.yml\nsource activate ./envs/hhabm\n```\n\n## Directory structure\n\n```\n-data\n       - synthetic.pkl -\u003e save synthetic hypergraphs as pkl file\n       - synthetic.csv -\u003e save synthetic number of cases as csv file\n- model.py -\u003e implementation of Hypergraph-HeterSIS model\n- calibrateh.py -\u003e calibrate the Hypergraph-HeterSIS model to the synthetic number of cases\n- simulateh.py -\u003e run simulations for the Hypergraph-HeterSIS model based on the calibrated parameters\n- evaluate.py -\u003e Calculate the NRMSE, ND, and Pearson correlation for Hypergraph-HeterSIS model results\n- outputs -\u003e save results\n```\n\n## Dataset\n\nThe dataset is at `data` folder. It contains the hypergraph file (synthetic.pkl) and the number of cases (synthetic.csv) used for Hypergraph-HeterSIS model calibration. \n\n## Demo\n\nWe provde a demo code to calibrate the Hypergraph-HeterSIS model and calculate the metrics we used in main article\nRun:\n\n```\nchmod 777 run.sh\n./run.sh\n```\nThis will save the results (NRMSE, ND, and Pearson correlation value) in `output/result.csv`\n\n## Cite our work\nIf you find our work useful, please cite our work:\n- Vivek Anand*, Jiaming Cui*, Jack Heavey, Anil Vullikanti, B. Aditya Prakash. H2ABM: Heterogeneous Agent-based Model on Hypergraphs to Capture Group Interactions. SDM 2024.\n```\n@inproceedings{anand2024h2abm,\n  title={},\n  author={Anand, Vivek and Cui, Jiaming and Heavey, Jack and Vullikanti, Anil and Prakash, B Aditya},\n  booktitle={Proceedings of the 2024 SIAM International Conference on Data Mining (SDM)},\n  pages={280--288},\n  year={2024},\n  organization={SIAM}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityalab%2Fh2abm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityalab%2Fh2abm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityalab%2Fh2abm/lists"}