2020 has been a rough year. We started with a wildfire in Australia , saw half of our world die due to COVID, migrant workers moved across states in our country,skies in California turned orange as the state choked up the fire fumes and what not. We have faced every calamity possible in this year and we , Team Myth Busters think , it would be stupid not to prepare ourselves for the future. So, lo and behold , Emergency Ally, a smart website designed to always be there for you in the time of emergency and get you out of it as soon as possible.
Built using Natural Language Processing and Machine Learning,Emergency Ally is a Comprehensive Web App which can help you provide SOS or Emergency Level Solutions , In Case You encounter or see someone in any Danger or Disaster Situtations.
- Input Emergency
- Classification of emergency:Classifies your emergency to a bunch of other related emergency types
- Priority Sorting:our model understands how urgent your search is and assigns it a priority level
- Location Based Results:Gives you location based suggestions of nearest help centers and their contact information.
## File Description
.
├── app
│ ├── run.py # Flask file that runs app
│ └── templates
│ ├── go.html # Classification result page of web app
│ └── master.html # Main page of web app
├── data
│ ├── disaster_categories.csv # Dataset including all the categories
│ ├── disaster_messages.csv # Dataset including all the messages
│ └── process_data.py # Data cleaning
├── models
│ └── train_classifier.py # Train ML model
└── README.md
-
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
-
Run at http://0.0.0.0:3001/
NOTE : If the 3rd Step Doesn't Work , Try Running at http://localhost:3001/
Harsh Sharma |
Akshat Anand |
Ananya Negi |
Tarushi Pathak |