The Objective of this Project was to develop a web app where the emergency workers can infer form a help message the possible categories the message belongs to. to be able to redirect necessary support "shelter", "Food" etc
Python 3 and the following Python libraries installed:
NumPy
Pandas
Matplotlib
Json
Plotly
Nltk
Flask
Sklearn
Sqlalchemy
Sys
Re
Pickle
-
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
-
Run the following command in the app's directory to run your web app.
python run.py
-
Go to http://0.0.0.0:3003/ with udacity spaceid and domian
I was able to train the model and deploy the model
Udacity for the project template and Figure Eight for the data