flood_detection_model
Science Score: 28.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: dnellur4
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 4.51 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Group-15

Flood detection from social media text
Overview :: Description :: Directory Structure :: Technologies :: Getting started Results :: Conclusion :: Future Scope :: Video :: Group Members
Overview
Social media has emerged as a source of quick communication and information. This can be used as an information source for natural disaster detection and assessment. However, using social media for disaster assessment is difficult due to the lack of trustworthiness brought on by anonymity and uncertainty.
Many methods, including the use of textual and visual features, have been tested to enhance the detection of natural disasters in social media posts. The results demonstrate that the features have a positive impact on distinguishing flood texts. From metadata, we considered only the textual metadata.
Description
Recently, a significant number of individuals use cellphones and write about their daily lives on social media. The analysis of this immense amount of social media data has the potential to significantly improve response times in the event of a natural disaster.
The project's objective is to identify floods from a given text which is associated social media metadata. We intend to put into practice a model for flood detection that makes use of the metadata.
In order to create an effective model as part of the fusion, we would like to investigate various 12 Natural Language Processing techniques for feature extraction from the social media information.
Directory Structure
txt
.github/workflows/
python-app.yml
pdoc-app.yml
docs/
src
proj1rubricComments.pdf
proj1rubric.md
src/
README.md
Application/
static/
base.jpeg
water.jpeg
main.js
style.css
templates/
index.html
login_socialmedia.html
predict.html
App.py
app.yaml
model_prediction.py
Training/
bert+svm_flood_detection.ipynb
training_model.py
test/
README.md
Web Results/
Home.png
login.png
output_prediction.png
__init__.py
test_index.py
test_login.py
test_modelprediction.py
test_predict.py
test_return.py
test_runner.py
.gitignore
.travis.yml
CITATION.md
CODE-OF-CONDUCT.md
CONTRIBUTING.md
INSTALL.md
LICENSE.md
README.md
requirements.txt
setup.py
Technologies
Python
Java Script
CSS3
HTML 5
Jupyter Notebook
Gettingstarted
Prerequisite:
- Download Python3.x.
- ### Installation:
Steps to setup virtual environment - Create a virtual environment:
`python3.8 -m venv app_env`Activate the virtual environment:
source app_env/bin/activateBuild the dependencies in virtual environment:
pip install -r requirements.txt
- Download Python3.x.
Instructions to Run the application.
To run/test the site:
- Clone Flooddetection github repo.
- Navigate to project directory.
- Run
python3 App.py - Site will be hosted at:(localhost)
http://127.0.0.1:3000/
Results

Conclusion
- Our Current Application takes post tile and description as Input.
- We trained our model using BERT + SVM machinelearning model.
- Depending on the inputs our trained machine learning model predicts the outcome whether the flood exists or not. ## Future scope
- Moreover, due to advancement of social media, users now can write in these social media using their native language. So, an extension to a social media app will be of good use.
- Our current model predicts the flood using current text analysis, including the images along with the text could improve the accuracy of the model
- We have a limited training data for the model in our application. It can be improved by training the model with more data. ## Video
https://user-images.githubusercontent.com/112122632/194800209-9f043016-e6d9-46b4-8e7b-f90fd7e6b64a.mp4
Group Members
- Nelluru, Dedeepya (dnellur)
- Kanamarlapudi, Venkata Gnana Vardhani (vkanama)
- Vengali, Sai Kumar Goud (svengal)
- Immidisetti, Ratan (rimmidi)
- Chirumamilla, Raviteja (rchirum)
Citation (CITATION.md)
[](https://zenodo.org/badge/latestdoi/546884622) Version: 1.0.0 Authors: - Nelluru, Dedeepya - Kanamarlapudi, Venkata Gnana Vardhani - Vengali, Sai Kumar Goud - Immidisetti, Ratan - Chirumamilla, Raviteja. License: MIT License. Repository-code: https://github.com/dnellur4/flood_detection_model Identifiers: - description: Project1 deliverables - type: doi - value: 10.5281/zenodo.7141103
GitHub Events
Total
Last Year
Dependencies
- gdown ==4.4.0
- requests ==2.23.0
- scikit_learn ==1.0.2
- sentence_transformers ==2.2.2
- session_info ==1.0.0