-
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
- To run ETL pipeline that cleans data and stores in database
-
Go to
app
directory:cd app
-
Run your web app:
python run.py
-
Go to
http://localhost:3001
in the browser to view the visualisations.
- app/ - app folder
- templates/ - HTML templates
- go.html - HTML for text model query page
- master.html - HTML for homepage
- run.py - Main python file for app
- templates/ - HTML templates
- data/
- disaster_categories.csv
- disaster_messages.csv
- process_data.py - ETL pipeline file
- models/
- train_classifier.py - Model training pipeline
- LICENSE
- README.md