Git Product home page Git Product logo

fengfeiqianwu / leafclassification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhmul/leafclassification

0.0 2.0 0.0 103.94 MB

This task involves the use of binary leaf images and extracted features, including shape, margin & texture, to accurately identify 99 species of plants. Leaves, due to their volume, prevalence, and unique characteristics, are an effective means of differentiating plant species.

Python 100.00%

leafclassification's Introduction

NOTE: This was written before Keras v2 and will likely not run anymore with an updated version of Keras. Please see the JuPyter Kernel for an overview of the code in this repository

LeafClassification

This task involves the use of binary leaf images and extracted features, including shape, margin & texture, to accurately identify 99 species of plants. Leaves, due to their volume, prevalence, and unique characteristics, are an effective means of differentiating plant species.

My current convolutional model performs very well, with nearly 100% accuracy and a .009 logloss on the Kaggle Competition testset. It works by first inputting the images into two convolutional layers, then concatenating the embedding that comes out with the numerical extracted features. Then it goes through one last dense layer before calculating the outputs.

Training the model

To train the combined model simply run

cd src
python kfold_train.py

Visualization

To run the visualization script to see what the neural network is doing in the convolutional layers, run

cd src
python visualization.py

JuPyter Kernel

Check out my JuPyter Kernel outlining this solution on Kaggle!

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.