{"id":20898878,"url":"https://github.com/coldmayo/annreweight","last_synced_at":"2026-01-23T20:40:07.091Z","repository":{"id":247822146,"uuid":"826332131","full_name":"coldmayo/ANNReweight","owner":"coldmayo","description":"Using Neural Networks for Geant4 Reweighting","archived":false,"fork":false,"pushed_at":"2024-08-13T04:59:28.000Z","size":31413,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T01:37:10.003Z","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/coldmayo.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}},"created_at":"2024-07-09T13:57:33.000Z","updated_at":"2024-09-06T11:54:28.000Z","dependencies_parsed_at":"2024-08-13T05:01:47.164Z","dependency_job_id":null,"html_url":"https://github.com/coldmayo/ANNReweight","commit_stats":null,"previous_names":["coldmayo/annreweight"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coldmayo/ANNReweight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldmayo%2FANNReweight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldmayo%2FANNReweight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldmayo%2FANNReweight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldmayo%2FANNReweight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldmayo","download_url":"https://codeload.github.com/coldmayo/ANNReweight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldmayo%2FANNReweight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28699698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-18T11:12:31.362Z","updated_at":"2026-01-23T20:40:07.070Z","avatar_url":"https://github.com/coldmayo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reweighting using Neural Networks\n\nIn this project, I will be reweighting Geant4 histograms using Machine Learning. For more information check out \u003ca href=\"https://arogozhnikov.github.io/hep_ml/reweight.html\"\u003ethis\u003c/a\u003e web page.\n\n## Directory breakdown\n- data/\n\t- As the name suggests, this is where data is stored. From root to csv files\n- model/\n\t- Where all of the code relating to building, training, and testing of the models takes place\n- saved_models/\n\t- This directory is created once the user trains their first model. Information about the trained model is stored here (weights, bias, etc)\n- useful_papers/\n\t- Papers referenced for this project (helpful for writing references for a paper)\n- output/\n\t- Shows the output of the model (loss function, reweighted plots, etc)\n\n## Important Links\nData:\n- \u003ca href=\"https://zenodo.org/records/3518708#.XbN4MJNKJOQ\"\u003eZenodo\u003c/a\u003e\n\n## Running the code\n### Linux\n1. Create Virtual Envirement\n```bash\n$ python -m venv .venv\n```\n2. Install packages\n```bash\n$ pip install -r requirements.txt\n```\n3. Use run.sh for running files\n```bash\n$ cd model\n$ ./run.sh train.py 10\n```\n\n### Windows\n1. Create Virtual Envirement\n```bash\n$ python -m venv .venv\n```\n2. Install packages\n```bash\n$ pip install -r requirements.txt\n```\n3. Run files\n```bash\n$ .venv\\Scripts\\activate.bat\n$ cd model\n$ python -u train.py 10\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldmayo%2Fannreweight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldmayo%2Fannreweight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldmayo%2Fannreweight/lists"}