Git Product home page Git Product logo

mushroomclassifier's Introduction

This is an old project from 2020 on predicting 1000 mushroom species from image data.

The data was kindly provided by mushroomobserver.org.

I am revisiting this as the dataset is highly interesting as a playground to test ideas. This is because the data contains:

  • highly noisy labels (labels are from a user voting system)
  • feature noise (images are uploaded by individual users)
  • highly imbalanced classes

The current version of the project uses simple deep learning models (ResNet variants) and the FastAI library. One interesting idea I toyed with here was a hierarchical model, where a genus level classifier was first trained, and then for each genus, a species level classifier was trained. I tried this as it would allow for new mushroom species to be gradually added to the model over time, with much faster retraining than a single species level model.

I have not yet implemented solutions to the noise or imbalance problems, although I will gradually add them in future.

I have uploaded a small report which I submitted as part of the course Principles of Data Science at the University of Sydney in 2021, which explains some of the reasoning behind the hierarchical model.

I haven't uploaded the model files as they are very large, nor have I uploaded the image files. The notebooks will download all relevant data and generate all models.

mushroomclassifier's People

Contributors

alexredplanet avatar

Stargazers

 avatar Ibrahim V K avatar Kâmuran İmran avatar Christoph K. avatar Hermann Rolfes avatar plops avatar  avatar

Watchers

Hermann Rolfes avatar  avatar

Forkers

sirkyven kamurani

mushroomclassifier's Issues

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 6044: character maps to <undefined>

Hi @alexmarsian and thank you for this interesting project!

I am just about to try it and encountered this error:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 6044: character maps to <undefined>

in 1-mush-obs-EDA.ipynb:

open(datapath/'locations.csv', 'r')

The fix is:

open(datapath/'locations.csv', 'r', encoding="utf8")

(just in case anyone else is running into it aswell)

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.