Message Boards Message Boards

Bad Plot for "ConfusionMatrixPlot" (Fruit Grid Sums continuation)

Posted 10 years ago

First of all many thanks to Marco Thiel for the data and inspiration to get going on this topic.(Fruit Grid Sums) i've built various classifier functions for all 12 types of fruit images. As part of exploring I tried Classification Measurements.

cmeasures = ClassifierMeasurements[classNN, fruitTraingSet]
cmeasures["ConfusionMatrix"] // TableForm

enter image description here

The matrix looks fine. Now let us do


enter image description here

That's not so good, instead of 12x12 matrix it's 7.5 x 7.5.

N.B. Even when built for maximum accuracy the function confuses bananas for lemons (strongly influenced by color) and confuses limes for avocados. Each classifier function takes about 180MB with only 7MB of images for training.

Maybe this is relevant to copyright, the downloaded images have different file names. After a while I realized that some images were duplicated but not the names. Thus DeleteDuplicates[] on lists of images cut the number down.

POSTED BY: Douglas Kubler
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract