Coder Social home page Coder Social logo

flooding-detection's Introduction

Flooding Detection:

Classification:

Features used for Classical Models:

  1. LBP Features: For the local binary patterns, we used the ‘uniform’ method which is grayscale invariant and rotation invariant. We used a radius of 1 (i.e. we calculated the LBP for each pixel using only the 8-neighbourhood).
  2. LBP Histograms: We flatten the LBP features and calculate the histogram on it using 10 bins.

Classical Models:

1. K-Means: (K=2, method='uniform')

The LBP histograms were used as the feature used to train the model.

Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.70 0.86 0.77 - 0.14 0.30
Non-Flooded 0.81 0.64 0.72 - 0.36 0.19
Macro Avg 0.76 0.75 0.74 0.75 0.25 0.24

2. SVM:

It used the LBP features from the training set as training data.

  • Poly kernel, C=3
Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.53 0.81 0.64 - 0.19 0.47
Non-Flooded 0.59 0.28 0.38 - 0.72 0.41
Macro Avg 0.56 0.54 0.51 0.54 0.46 0.44
  • RBF kernel, C=3
Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.80 0.59 0.68 - 0.41 0.20
Non-Flooded 0.68 0.86 0.76 - 0.14 0.32
Macro Avg 0.74 0.72 0.72 0.72 0.28 0.26
  • RBF, C=3, gamma=0.05
Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.74 0.84 0.79 - 0.16 0.26
Non-Flooded 0.82 0.71 0.76 - 0.29 0.18
Macro Avg 0.78 0.78 0.77 0.775 0.22 0.22

DL Models:

1. RegNet16:

Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 1.00 0.97 0.99 - 0.03 0.00
Non-Flooded 0.97 1.00 0.99 - 0.00 0.03
Macro Avg 0.99 0.99 0.99 0.985 0.01 0.01

2. ResNet18:

Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.97 0.99 0.98 - 0.01 0.03
Non-Flooded 0.99 0.97 0.98 - 0.03 0.01
Macro Avg 0.98 0.98 0.98 0.978 0.02 0.02

3. MobileNetV2:

Precision (UA) Recall (PA) F1-Score Accuracy OE CE
Flooded 0.97 1.00 0.99 - 0.00 0.03
Non-Flooded 1.00 0.97 0.99 - 0.03 0.00
Macro Avg 0.99 0.99 0.99 0.985 0.01 0.01

Flooded Pixel Segmentation:

Supervised:

  1. U-Net.

Unsupervised:

  1. ISODATA.
  2. K-Means.

Segemenation :

Collaborators :

Abdelrahman Jamal
Abdelrahman Jamal
Iten-No-404
Iten Elhak
radwaahmed2132000
Radwa Ahmed
abdullahalshawafi
Abdullah Alshawafi

flooding-detection's People

Contributors

radwaahmed2132000 avatar hero2323 avatar iten-no-404 avatar abdullahalshawafi avatar

Stargazers

Gheiath avatar Mostafa Wael avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.