Pdex 0.3.0 - #81
Conversation
…path Refactor/improve one v rest path
Ci/fix unnecessary ci runtimes
…mn-from-output refactor: completely deprecated bare fold_change column
There was a problem hiding this comment.
Code Review
This pull request bumps the version to 0.3.0 and introduces a major performance optimization for the "all" mode (1-vs-rest), transforming it into a one-shot computation of O(n_obs) complexity. It achieves this by materializing the expression matrix once, ranking genes once via a new mwu_one_vs_rest kernel, and algebraically deriving each group's "rest" statistics from the global sum. The PR also removes the deprecated fold_change column, guards against floating-point cancellation noise, improves CPU affinity detection, and adds extensive test coverage. The code review feedback correctly identifies a potential division-by-zero issue when the groupby column contains unused categorical levels, offering a robust code suggestion to filter out inactive groups.
No description provided.