- Installation
- Project Motivation
- File Descriptions
- Instructions
- Screenshots
- Licensing, Authors, and Acknowledgements
libraries needed by this project are provided by the Anaconda distribution of Python. The code should run with no issues using Python versions 3.*.
This project build a web app to classify information on twitter according to its purpose and send the information to the appropriate aid agencies during a disaster event.
A machine learning model is trained to classify information into different categories using dataset of Figure Eight - Multilingual Disaster Response Messages.
notebook folder contain ETL pipeline and ML pipeline notebook
data folder contain data and process_data.py file which is an ETL-pipeline for cleaning, transforming and storing the data from CSV-files
models folder contain train_classifier.py which train and build a ML model for classify messages. The output is a pickle file containing the fitted model.
app folder contain html template and run.py file to run and render web app.
img folder contain screen shot of the web app
python data/process_data.py data/messages.csv data/categories.csv data/DisasterResponse.db
python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl
- Save the app folder in the current working directory.
- Run the following command in the app directory: python run.py
- Go to http://0.0.0.0:3001/
This app was completed as part of the Udacity Data Scientist Nanodegree. Code templates and data were provided by Udacity. The data was originally sourced by Udacity from Figure Eight.