{"id":19199820,"url":"https://github.com/rose-stl-lab/danp","last_synced_at":"2026-07-04T22:31:16.508Z","repository":{"id":240463072,"uuid":"801417768","full_name":"Rose-STL-Lab/DANP","owner":"Rose-STL-Lab","description":"Domain Adversarial Neural Process","archived":false,"fork":false,"pushed_at":"2024-05-30T07:51:45.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-27T13:02:52.360Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rose-STL-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-16T07:35:19.000Z","updated_at":"2024-05-30T07:51:49.000Z","dependencies_parsed_at":"2024-05-19T04:27:48.169Z","dependency_job_id":"4c100404-7e78-4dbf-8cbf-8df25ed398af","html_url":"https://github.com/Rose-STL-Lab/DANP","commit_stats":null,"previous_names":["rose-stl-lab/danp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rose-STL-Lab/DANP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rose-STL-Lab%2FDANP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rose-STL-Lab%2FDANP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rose-STL-Lab%2FDANP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rose-STL-Lab%2FDANP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rose-STL-Lab","download_url":"https://codeload.github.com/Rose-STL-Lab/DANP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rose-STL-Lab%2FDANP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35138074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-09T12:29:06.596Z","updated_at":"2026-07-04T22:31:16.458Z","avatar_url":"https://github.com/Rose-STL-Lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data-Driven Simulator for Mechanical Circulatory Support with Domain Adversarial Neural Process\n\n#### [Arxiv version with appendix](https://arxiv.org/abs/2405.18536)\n\nThis repository contains code for the Domain Adversarial Neural Process (DANP) and various baselines reported in the paper, *Data-Driven Simulator for Mechanical Circulatory Support with Domain Adversarial Neural Process*. The data used in this project cannot be shared publicly due to privacy and confidentiality agreements. However, we provide the necessary scripts and instructions to run the model with your own data.\n\n\n## | Installation\n\nClone the repository and install the required dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\nSetup [wandb](https://wandb.ai/site/) for model evaluation and dashboard. \n\n## | Usage \n\n### Preparing Your Data\n\nSince the original data used in the paper cannot be shared, you will need to prepare your own dataset. Ensure your data is in the appropriate format as described in the `data_preparation.md` file.\n\n\n### Running the Model\n\nExecute the training script with your dataset.\n\n```bash\npython src/model/DANP.py -cohort cohort_name -seq_steps 90 -cuda cuda_number -nepochs 150 -lr 0.001 -bc 64\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frose-stl-lab%2Fdanp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frose-stl-lab%2Fdanp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frose-stl-lab%2Fdanp/lists"}