New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(external): ensure solo soft predict returns probs #2689
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2689 +/- ##
==========================================
- Coverage 88.86% 88.85% -0.02%
==========================================
Files 158 158
Lines 13247 13247
==========================================
- Hits 11772 11770 -2
- Misses 1475 1477 +2
|
It needs to be labeled as breaking change. It might be some folks use softmax after SOLO (I do). I guess it's better to also print a warning about the change for scVI-tools 1.3. |
Right - I forgot to do that. This is slated to be released with 1.1.3, should we revert it then? It's technically a bug fix so IMO it should be fine. |
I think it's fine to release with 1.1.3 and I prefer outputting probabilities. I agree the code was wrong and not the documentation. However, we should highlight this change as it might affect analysis scripts. I'm open whether it outputs a warning or not but the release note should contain a breaking change. |
Makes sense! I'll add a warning and a note to the changelog. |
BREAKING CHANGE: SOLO.predict used to incorrectly return logits instead of probabilities when soft=True (the default option). this pr fixes that but it is a breaking change.
closes #2688