Giter VIP home page Giter VIP logo

Comments (4)

hungbie avatar hungbie commented on July 29, 2024

What you are refering to is a Binary Classification problem and hence using sigmoid with binary cross entropy is possible. Thus if you are using that you only need to have 1 class in the final prediction.

However here it is indeed still a binary problem but they are using categorical cross entropy and is compatible with more than 2 classes. And since categorical cross entropy is used they need to specify that there are 2 classes, hence 2.

from retina-unet.

Kevin-Moon avatar Kevin-Moon commented on July 29, 2024

from retina-unet.

hungbie avatar hungbie commented on July 29, 2024

For this problem yes they should be the same. However say we now want to also detect the ONH and have 3 classes instead then we can no longer use Sigmoid with Binary Cross Entropy.

from retina-unet.

Kevin-Moon avatar Kevin-Moon commented on July 29, 2024

from retina-unet.

Related Issues (20)

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.