{"id":21865040,"url":"https://github.com/mr-chang95/disaster_response_pipeline","last_synced_at":"2026-04-10T15:36:53.744Z","repository":{"id":136749974,"uuid":"456293872","full_name":"Mr-Chang95/Disaster_Response_Pipeline","owner":"Mr-Chang95","description":"Data Science Project for Udacity's Data Scientist Program. Here I created a webapp and ML/NLP pipeline that analyzes message data for disaster response and shows classification results.","archived":false,"fork":false,"pushed_at":"2022-11-17T07:19:15.000Z","size":28404,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T15:34:13.340Z","etag":null,"topics":["data-engineering","data-pipeline","data-science","disaster-response","etl-pipeline","flask","gridsearchcv","jupyter-notebook","machine-learning","natural-language-processing","nlp","ntlk","python","python-script","sklearn","sqlalchemy","sqlite","udacity-data-science-nanodegree"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Mr-Chang95.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":"2022-02-06T22:56:40.000Z","updated_at":"2022-02-13T21:24:27.000Z","dependencies_parsed_at":"2023-07-14T13:15:13.386Z","dependency_job_id":null,"html_url":"https://github.com/Mr-Chang95/Disaster_Response_Pipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Chang95%2FDisaster_Response_Pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Chang95%2FDisaster_Response_Pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Chang95%2FDisaster_Response_Pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Chang95%2FDisaster_Response_Pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-Chang95","download_url":"https://codeload.github.com/Mr-Chang95/Disaster_Response_Pipeline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868766,"owners_count":20523591,"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":["data-engineering","data-pipeline","data-science","disaster-response","etl-pipeline","flask","gridsearchcv","jupyter-notebook","machine-learning","natural-language-processing","nlp","ntlk","python","python-script","sklearn","sqlalchemy","sqlite","udacity-data-science-nanodegree"],"created_at":"2024-11-28T04:13:55.366Z","updated_at":"2025-12-30T22:25:36.921Z","avatar_url":"https://github.com/Mr-Chang95.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disaster Response Pipeline Project\n\n\u003cimg width=\"1198\" alt=\"banner\" src=\"https://user-images.githubusercontent.com/92649864/152714276-607d2d64-c9c9-4aaf-bf87-edea5031d66e.png\"\u003e\n\n\n## Project Description\nIn this project, I will create a machine learning/NLP pipeline to categorize these events and build a model to classify messages that are sent during disasters. There are 36 pre-defined categories, and examples of these categories include Aid Related, Medical Help, Search And Rescue, etc. By classifying these messages, we can allow these messages to be sent to the appropriate disaster relief agency. The dataset -provided by Figure Eight- is used to build a model that classifies disaster messages, while the web app is where a respondent can input a new message and get classification results in several categories.\n\nFinally, this project also contains a web app that allows you to input a message and get classification results.\n\n## File Description\n~~~~~\n disaster_response_pipeline\n          |-- app\n                |-- templates\n                        |-- go.html\n                        |-- master.html\n                |-- run.py\n          |-- data\n                |-- disaster_message.csv\n                |-- disaster_categories.csv\n                |-- DisasterResponse.db\n                |-- process_data.py\n          |-- models\n                |-- classifier.pkl\n                |-- train_classifier.py\n          |-- Preparation\n                |-- categories.csv\n                |-- ETL Pipeline Preparation.ipynb\n                |-- ETL_Preparation.db\n                |-- messages.csv\n                |-- ML Pipeline Preparation.ipynb\n          |-- README\n~~~~~\n## Installation\nHere are the different packages used for this project:\n\n\t- Numpy, Pandas, Sklearn\n    - NLTK\n    - SQLalchemy\n    - Flask, Plotly\n\nAfter you've installed and imported all the necessary packages, you can run the program by following the steps below!\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        `python data/process_data.py data/disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db`\n    - To run ML pipeline that trains classifier and saves\n        `python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl`\n\n2. Run the following command in the app's directory to run your web app.\n    `python run.py`\n\n3. Go to http://0.0.0.0:3001/\n\n#### Notice: You do not to run the Preparation folder to make the program work. \n\n## Screenshots\n#### Screenshot 1\n\u003cimg width=\"1056\" alt=\"dis  message cate\" src=\"https://user-images.githubusercontent.com/92649864/152714519-127111eb-d2d8-4544-95c1-d713bcef682f.png\"\u003e\n\n#### Screenshot 2\n\u003cimg width=\"1167\" alt=\"dis  message genre\" src=\"https://user-images.githubusercontent.com/92649864/152714578-d7391d45-baac-4563-97cd-6287518d460e.png\"\u003e\n\n## Licensing, Authors, Acknowledgements\nThis app was completed as part of the [Udacity Data Scientist Nanodegree](https://www.udacity.com/course/data-scientist-nanodegree--nd025).\n\nSpecial thanks to Figure Eight for providing the datasets and giving me the chance to do this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-chang95%2Fdisaster_response_pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-chang95%2Fdisaster_response_pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-chang95%2Fdisaster_response_pipeline/lists"}