Disaster Response Pipeline

This is a webapp that provides a visualization tool for categorizing a message in 36 different categories.

Background and motivation

This project is part of Udacity's Data Science nanodegree. It's purpose includes:

  1. Cleaning and loading data gathered from two datasets and store it in a database, making it ready for use;
  2. Build and train a Machine Learning model using Natural Language Process that is able to classify a message into 36 different categories;
  3. Use this trained moded to classify a message inputed by user.

Running the Project

Instructions:

(this part of the text was extracted from the exercise)

  1. Run the following commands in the project's root directory to set up 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 it to a model

      python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl
      
  2. Run the following command in the app's directory to run the web app. python run.py

  3. Go to http://0.0.0.0:3001/