Giter VIP home page Giter VIP logo

drought-damage-prediction's Introduction

Deep Learning for Drought Damage Prediction Using Smartphone Images of Crops

This project developed an ML model for participating in the Zindi platform's challenge "Eyes on the Ground": https://zindi.africa/competitions/cgiar-eyes-on-the-ground-challenge

CNN Model Results

Model RMSE
CNN 16.44817351
CNN with Heuristic 15.69013985

The results were measured in the Zindi Platform.

Data Sources

The project exclusively uses data from the "Eyes on the Ground" Challenge, consisting of 26,068 labeled training images and 8,663 testing images. The dataset was contributed by smallholder farmers making insurance claims.

Data Analysis and Preprocessing

The methodology includes an analysis of the dataset to extract insights, preprocessing techniques such as image resizing and normalization, and the transformation of categorical data. Training, validation, and test sets were created for model development.

Convolutional Neural Network

A CNN architecture, inspired by successful image processing tasks, was implemented using TensorFlow. The network is trained to predict the percentage of drought damage in processed images. Model assessment is based on the Root Mean Squared Error (RMSE) metric.

Heuristic

In this project, a CNN is combined with a heuristic to enhance model predictions. The heuristic chosen for this study combines the two most prominent choices in the survey results, namely yellow and brown leaves. In order to detect these leaves in the dataset's images, it opted to utilize a colour mask which filters pixel colours in a range between two RGB values chosen to approximate the colours of yellow and brown leaves. This colour transformation was performed during the pre-processing stage of the training, after the resizing and padding of the images.

Download Model

Here is the link to download the final model: https://drive.google.com/file/d/1xeEBZ3qP5hldrvg8eur0P3aUFX3wOTfp/view?usp=sharing

drought-damage-prediction's People

Contributors

andreasnaoum avatar

Watchers

 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.