{"id":28532277,"url":"https://github.com/predict-idlab/gis-ml-leaklocalization","last_synced_at":"2025-08-13T01:05:56.777Z","repository":{"id":103218614,"uuid":"542569575","full_name":"predict-idlab/GIS-ML-LeakLocalization","owner":"predict-idlab","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-28T14:11:23.000Z","size":34572,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-07T14:44:21.815Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/predict-idlab.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-28T12:04:15.000Z","updated_at":"2024-07-18T01:29:25.000Z","dependencies_parsed_at":"2023-06-29T01:17:01.087Z","dependency_job_id":null,"html_url":"https://github.com/predict-idlab/GIS-ML-LeakLocalization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/predict-idlab/GIS-ML-LeakLocalization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2FGIS-ML-LeakLocalization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2FGIS-ML-LeakLocalization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2FGIS-ML-LeakLocalization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2FGIS-ML-LeakLocalization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/predict-idlab","download_url":"https://codeload.github.com/predict-idlab/GIS-ML-LeakLocalization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2FGIS-ML-LeakLocalization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270160912,"owners_count":24537539,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":"2025-06-09T15:38:02.334Z","updated_at":"2025-08-13T01:05:56.379Z","avatar_url":"https://github.com/predict-idlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Leak Localization in Water Distribution Networks using GIS-Enhanced Autoencoders\n==============================\n\nLeak localization experiments using data-driven approaches based on GIS-enhanced autoencoders. Part of the implementation is based on https://github.com/stellargraph/stellargraph.\n\n\nRunning\n-------\n\n1. Clone this project: `git clone...`.\n2. Preferably create a virtual environment (`conda create --name aeleakloc`) and activate it (`conda activate aeleakloc`).\n3. `cd` to the project's root folder and install all required packages: `pip install -r requirements.txt`.\n4. Run `python train_and_test.py` to run a basic test. (You will first need to unzip the files in the pressures directory, however.)\n\nProject Organization\n------------\n\n    |-- LICENSE\n    |-- README.md\n    |-- analysis                            \u003c-- Repository for results used for analysis.\n    |   |-- 13_14_july_events\n    |   |   |-- lstm\n    |   |   `-- tgcn\n    |   |-- MC1\n    |   |   |-- lstm\n    |   |   `-- tgcn\n    |   `-- MC2\n    |       |-- lstm\n    |       `-- tgcn\n    |-- analysis.py                         \u003c-- Functionality used to perform analysis on results.\n    |-- data                                \u003c-- GIS data, inp files, pickle files, pressure time series, evaluation results, trained model files.\n    |   |-- BKTown\n    |   |   |-- SWG_BK_customerpoints.CSV\n    |   |   |-- SWG_BK_fixedheads.CSV\n    |   |   |-- SWG_BK_hydrants.CSV\n    |   |   |-- SWG_BK_meters.CSV\n    |   |   |-- SWG_BK_nodes.CSV\n    |   |   |-- SWG_BK_nonreturnvalves.CSV\n    |   |   |-- SWG_BK_pipes.CSV\n    |   |   |-- SWG_BK_transfernode.CSV\n    |   |   `-- SWG_BK_valves.CSV\n    |   |-- inp\n    |   |   |-- 20210212-BK_01Jul2020_31Aug2020_v1.0.inp\n    |   |   |-- 20210511-BK_8Dec2020_17Dec2020.inp\n    |   |   `-- 20210806-BK_1Jul2021_15Jul2021.inp\n    |   |-- resources\n    |   |   |-- 13_14_july_events\n    |   |   |   `-- distances.pkl\n    |   |   |-- MC1\n    |   |   |   |-- distances.pkl\n    |   |   |   `-- simulation_data.pkl\n    |   |   |-- MC2\n    |   |   |   `-- distances.pkl\n    |   |   |-- checkpoints\n    |   |   |-- coordinates.pkl\n    |   |   |-- elevations.pkl\n    |   |   |-- leak_partitions.pkl\n    |   |   |-- nx_topology_d.pkl\n    |   |   |-- nx_topology_ud.pkl\n    |   |   |-- pipe_header.pkl\n    |   |   |-- pipe_lengths.pkl\n    |   |   |-- pressures\n    |   |   |   |-- dump_pressure_data.json.zip\n    |   |   |   |-- mobile_pressure_data-08072020_17112020-UTCp01h00.csv.zip\n    |   |   |   `-- mobile_pressure_data-08122020_15022021-UTCp01h00.csv.zip\n    |   |   |-- reverse_translation.pkl\n    |   |   |-- translation.pkl\n    |   |   `-- wn.pkl\n    |   |-- results\n    |   |   |-- 13_14_july_events\n    |   |   |-- MC1\n    |   |   `-- MC2\n    |   `-- trained_models\n    |-- data_prep.py                            \u003c-- Functionality used to prepare data for training and evaluation.\n    |-- helper_functions.py                     \u003c-- Utilities\n    |-- models                                  \u003c-- Everything pertaining to machine learning models.\n    |   |-- ae_lstm.py\n    |   |-- ae_model.py\n    |   |-- ae_tgcn.py\n    |   `-- gcn_lstm.py\n    |-- partition.py                            \u003c-- Functionality used to partition the GIS.\n    |-- postprocessing.py                       \u003c-- Functionality used to postprocess results.\n    |-- requirements.txt                        \n    |-- static.py                               \u003c-- Static variables\n    |-- train_and_test.py                       \u003c-- Top-Level functionality to run all tests.\n    |-- utils.py                                \u003c-- Utility functions pertaining to pickling.\n    `-- wntr_helper_functions.py                \u003c-- Utilities pertaining to wntr simulations.\n\n\n--------\n\n\u003cp\u003e\u003csmall\u003eProject based on the \u003ca target=\"_blank\" href=\"https://drivendata.github.io/cookiecutter-data-science/\"\u003ecookiecutter data science project template\u003c/a\u003e. #cookiecutterdatascience\u003c/small\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredict-idlab%2Fgis-ml-leaklocalization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpredict-idlab%2Fgis-ml-leaklocalization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredict-idlab%2Fgis-ml-leaklocalization/lists"}