Skip to content

Conversation

sviatkh
Copy link

@sviatkh sviatkh commented Sep 25, 2025

Hi,

I've implemented zscore with CuPy from decoupler. This version leverages CuPy for matrix operations and uses CuPy’s erfc function for p-value calculation.

Changes

  • Added new _method_zscore.py with CuPy-based zscore implementation
  • Used cupyx.scipy.special.erfc for two-sided p-value computation
  • Updated __init__.py and API docs to expose zscore
  • Added unit tests test_zscore.py to validate consistency with NumPy/SciPy implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant