Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 2.17 KB

README.md

File metadata and controls

38 lines (28 loc) · 2.17 KB

Disaster Response Pipeline Project

Motivation

Natural disasters like earthquakes, hurricanes, and floods can be devastating, leading to loss of life, property damage, and displacement of people. During such emergencies, it's crucial to have an effective communication system that can quickly identify the needs of the affected people and coordinate the response efforts. However, with the increasing volume of messages sent through various channels like social media, emails, and text messages, it's challenging for disaster response organizations to manually sift through them to identify the ones that require immediate attention.

To address this challenge, machine learning pipelines can be trained to classify messages based on their content, enabling disaster response organizations to prioritize their response efforts and save lives.

File Description

Instructions:

  1. Run the following commands in the project's root directory to set up your database and model.

    • To run ETL pipeline that cleans data and stores in database python data/process_data.py data/disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db
    • To run ML pipeline that trains classifier and saves python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl
  2. Go to app directory: cd app

  3. Run your web app: python run.py