CellProfiler-Analyst icon indicating copy to clipboard operation
CellProfiler-Analyst copied to clipboard

Names mixed up on "hit table" after classification

Open karhohs opened this issue 8 years ago • 3 comments

From a forum post:

Hi!

When i use the CPA 2.2.1. fast gentle boosting classifier on my mac yosemite, i rename the positive class to Yellow, keep the negative class and then i add two new classes Green and Red. When i use score image, i get the hit table, where CPA list the number of cells identified in each class. In the hit table i get six columns; image number, total cell count, Yellow cell count, Negative cell count, Green cell count and Red cell count. But, the number of cells is mixed up. The appropriate order in the Hit table should be; Imagenumber, TotalCellCount, Red Cell Count, Green Cell Count, Negative Cell Count, Yellow Cell Count, to correspond to when i count them manually in the image. I.e. just the other way around. I guess this is a small bug, or let me know if there is something I can do to fix it. Thanks!

karhohs avatar May 16 '16 18:05 karhohs

Sorry, I don't understand. What's the problem with the current order?

On Tue, May 17, 2016 at 2:02 AM, karhohs [email protected] wrote:

From a forum post http://forum.cellprofiler.org/t/cpa-classifier-mixes-up-names-on-classes-in-the-hit-table/3540 :

Hi!

When i use the CPA 2.2.1. fast gentle boosting classifier on my mac yosemite, i rename the positive class to Yellow, keep the negative class and then i add two new classes Green and Red. When i use score image, i get the hit table, where CPA list the number of cells identified in each class. In the hit table i get six columns; image number, total cell count, Yellow cell count, Negative cell count, Green cell count and Red cell count. But, the number of cells is mixed up. The appropriate order in the Hit table should be; Imagenumber, TotalCellCount, Red Cell Count, Green Cell Count, Negative Cell Count, Yellow Cell Count, to correspond to when i count them manually in the image. I.e. just the other way around. I guess this is a small bug, or let me know if there is something I can do to fix it. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/CellProfiler/CellProfiler-Analyst/issues/180

jhung0 avatar May 17 '16 11:05 jhung0

I'll reach out to the forum user to provide images or a video.

karhohs avatar May 25 '16 14:05 karhohs

Likely related to #52 (bin order changes upon re-loading a classifier).

AnneCarpenter avatar Sep 05 '16 13:09 AnneCarpenter