Clear Filters
Clear Filters

Always getting 'No Tumor' as output for every image.

1 view (last 30 days)
BrainMRI_GUI.m
Editor's note: Moved the ~700 lines of code to an attachment.
  3 Comments
DGM
DGM on 25 Oct 2023
Since this is GUIDE, we'd also need the BrainMRI_GUI.fig file that goes with this.
That said, I don't know how you're getting any output. As given, the code won't even run since you've defined two different functions with the same name. (Line 629, 648) Not sure what's going on there.
Christopher McCausland
Christopher McCausland on 26 Oct 2023
Putting both @Image Analyst and @DGM's very valid points aside for a moment;
If every output is negitive, is the dataset ballanced? i.e. if there are 1000 training observations, but only 10 are true positives (tumors images with matching clinical lable), it would be very easy to train a "always no tumor" output.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!