Giter Club home page Giter Club logo

Comments (4)

schelv avatar schelv commented on July 28, 2024

You can add the parameter stratify=labels to the train_test_split method. This way the train and validation set have the same unbalance.
Of the 334 lesions in the data set, 77 are clinically significant (~23%).

Are you using one-hot output?
i.e. 2 classes; not significant , significant?

Another question. Does the loss change?

I'm also trying to get a small network working and I think I am running into the same problem.

from prostatex.

schelv avatar schelv commented on July 28, 2024

I got the feeling that the input we are currently using may be the problem. When you look at the cutouts of the ADC scans of the lesions, I can't recognize anything that resembles a prostate or even a lesion.

Would that auto windowing help here?(not sure about the name) In making it more recognizable.
It can be that the problem (with the current input) is just too difficult for the network to start learning something.

from prostatex.

jspunda avatar jspunda commented on July 28, 2024

Yes right now it's using a one-hot representation. The loss changes a little bit. Sometimes a slight increase and sometimes a slight decrease. I'm also starting to suspect that using the lesions as is might not be the right approach. Windowing indeed might help the network focus better on what actually matters in the image.

from prostatex.

schelv avatar schelv commented on July 28, 2024

Input is not the problem.
For me the problem was using a softmax layer with only one output. (the sum of the output array always equals one...)

I also made some other changes that you can also try to get it working better. Use He initialization, use leaky ReLU activation function instead of ReLU to avoid dead neurons. And maybe initialize with slight positive biases, however I doubt that this really matters when you use leaky relu.

from prostatex.

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.