scvi-tools icon indicating copy to clipboard operation
scvi-tools copied to clipboard

scANVI classification uncertainty extraction method

Open LuckyMD opened this issue 2 years ago • 2 comments

It would be very useful to have some quantification of model uncertainty for the scANVI cell type classification output. In the simplest form this could be the softmax output from the penultimate layer. Ideally, it would be a separately trained linear activation function output as softmax will probably exaggerate the differences in uncertainties leading to poor calibration. The simple output would already be useful I think.

LuckyMD avatar May 23 '22 17:05 LuckyMD

Hi, it sounds like this already returns the softmax outputs.

PierreBoyeau avatar Jun 06 '22 14:06 PierreBoyeau

Ah, I must have missed that, thanks! I'll test it out soon! I guess then my feature request slims down to the calibrated linear layer for probabilities :).

LuckyMD avatar Jun 13 '22 12:06 LuckyMD