This is the 3rd project from the DS Nanodegree The data was provided by Figure 8, and the goal is to classify messages sent in disasters, based on the need.
This repo contains the following files:
- An ETL Pipeline for cleaning the data, located in the data folder
- A machince learning pipeline for building and training the Sklearn Ada Boost Classifier located in the models folder
- The flask web app file.
-
Download the repo, and in your terminal navigate to the repo directory.
-
Ensure you have python and all the relevant packages installed and then run the following in exact order.
python data/process_data.py data/disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl
-
Then navigate to the app directory and run 'python run.py'
-
After running follow link to view.