{"id":20021778,"url":"https://github.com/ndleah/disaster-response","last_synced_at":"2026-04-15T16:09:28.843Z","repository":{"id":221138807,"uuid":"753545227","full_name":"ndleah/disaster-response","owner":"ndleah","description":"⛰️ machine learning pipeline for disaster alert","archived":false,"fork":false,"pushed_at":"2024-02-06T11:01:29.000Z","size":28967,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T16:31:40.057Z","etag":null,"topics":["databases","etl-pipeline","flask-sqlalchemy","machine-learning","ml-engineering","ml-pipeline"],"latest_commit_sha":null,"homepage":"","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/ndleah.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}},"created_at":"2024-02-06T10:35:35.000Z","updated_at":"2024-02-08T12:13:08.000Z","dependencies_parsed_at":"2024-02-06T13:24:58.727Z","dependency_job_id":null,"html_url":"https://github.com/ndleah/disaster-response","commit_stats":null,"previous_names":["ndleah/disaster-response-pipeline","ndleah/disaster-response"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndleah%2Fdisaster-response","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndleah%2Fdisaster-response/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndleah%2Fdisaster-response/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndleah%2Fdisaster-response/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndleah","download_url":"https://codeload.github.com/ndleah/disaster-response/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455380,"owners_count":19965602,"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":["databases","etl-pipeline","flask-sqlalchemy","machine-learning","ml-engineering","ml-pipeline"],"created_at":"2024-11-13T08:38:10.792Z","updated_at":"2026-04-15T16:09:23.822Z","avatar_url":"https://github.com/ndleah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Star Badge](https://img.shields.io/static/v1?label=%F0%9F%8C%9F\u0026message=If%20Useful\u0026style=style=flat\u0026color=BC4E99)\n![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)\n# Disaster Response Pipeline Project \u003cimg src=\"https://i.pinimg.com/originals/94/3a/77/943a7772c92f036dc059380bc644c05e.gif\" align=\"right\" width=\"150\" /\u003e\n ## Introduction\n This project will include a web app where an emergency worker can input a new message and get classification results in several categories. The web app will also display visualizations of the data.\n\n\u003cdiv align = center\u003e\n\u003cimg src=\"img/screenshot.png\" align=\"center\" width=\"800\" /\u003e\n\n\u003c/div\u003e\n\n## ⚙️ Instructions\n1. Run the following commands in the project's root directory to set up your database and model.\n\n    - To run ETL pipeline that cleans data and stores in database\n        \n        ```\n        python data/process_data.py data disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db\n        ```\n    - To run ML pipeline that trains classifier and saves\n        ```\n        python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl\n        ```\n\n2. Go to `app` directory: `cd app`\n\n3. Run your web app: `python run.py`\n\n4. Click the `PREVIEW` button to open the homepage\n\n## 🚧 Folder Structure\n```\n- app\n| - template\n| |- master.html  # main page of web app\n| |- go.html  # classification result page of web app\n|- run.py  # Flask file that runs app\n\n- data\n|- disaster_categories.csv  # data to process \n|- disaster_messages.csv  # data to process\n|- process_data.py\n|- InsertDatabaseName.db   # database to save clean data to\n\n- models\n|- train_classifier.py\n|- classifier.pkl  # saved model \n\n- README.md\n```\n\n## 📝 Feedback\n\nIf you have any feedback or ideas to improve this project, feel free to contact me via my email at nduongthucanh@gmail.com or:\n\n\u003ca href=\"https://www.linkedin.com/in/ndleah/\"\u003e\n  \u003cimg align=\"left\" alt=\"Leah's LinkdedIn\" width=\"22px\" src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg\" /\u003e\n\n\u003c/a\u003e\n\u003ca href=\"https://github.com/ndleah\"\u003e\n  \u003cimg align=\"left\" alt=\"Leah's Github\" width=\"22px\" src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/github.svg\" /\u003e\n\u003c/a\u003e\n\n___________________________________\n\n\u003cp\u003e\u0026copy; 2024 Leah Nguyen\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndleah%2Fdisaster-response","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndleah%2Fdisaster-response","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndleah%2Fdisaster-response/lists"}