The objective of the project is to create a web application which will classify disaster messages.
- disaster_categories.csv - Contains the id, message that was sent and genre.
- disaster_messages.csv - Contains the id and the categories (related, offer, medical assistance..) the message belonged to.
- DisasterResponse.db - Database contain cleaned data
- process_data.py - Used for data cleaning and pre-processing
- train_classifier.py - Used to train the model
- classifier.pkl - Trained model
- run.py - To run Web App
All the required libraries are included in the file requirements.txt
- Machine Learning
- Natural Language Processing
- Random Forest
- SQLite
- ETL
- Go to Project's root directory
- Install required libraries.
pip install -r requirements.txt
- To run ETL Pipeline that clean and store data
python data/process_data.py data/disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db
- To run ML pipeline that trains the classifier model
python model/train_classifier.py data/DisasterResponse.db model/classifier.pkl
- You can download the pre-trained model here
Made With ❤️ by Sidharth kumar mohanty
Any issues??? Feel free to ask.Linkedin
If you find this repo useful,don't forget to give a ⭐