Skip to content
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

ENH: stats: test marray support for hypothesis tests #118

Open
wants to merge 73 commits into
base: marray_gmean
Choose a base branch
from

Conversation

mdhaber
Copy link
Owner

@mdhaber mdhaber commented Jan 24, 2025

Reference issue

scipy#22393

andyfaff and others added 29 commits February 3, 2025 15:21
…_subscriptable_types

TST: sparse: add tests for subscriptable types
…ents (scipy#22462)

* ENH: stats.pearsonr: two simple but substantial efficiency improvements

* MAINT: stats.pearsonr: adjustments per review
* DOC: Prevent A@x=b from becoming a URL

* Update _interface.py [docs only]

Co-authored-by: Jake Bowhay <60778417+j-bowhay@users.noreply.github.com>

* Update _interface.py [docs only]

Co-authored-by: Jake Bowhay <60778417+j-bowhay@users.noreply.github.com>

* Update _interface.py

[docs only]

---------

Co-authored-by: Jake Bowhay <60778417+j-bowhay@users.noreply.github.com>
ENH: parallelisation of `optimize._numdiff.approx_derivative`
…ds-and-callback

BUG: fix error in `optimize.minimize(..., method='L-BFGS-B', ...)` with fixed `bounds` and `callback`
* Fixes scipy#22479.

* This small patch allows `test_stats.py::TestRegression::test_regressZEROX`
to pass on x86_64 Linux instead of failing due to an extra division by
zero warning over a fairly narrow range of NumPy versions near `1.25.2`
where SIMD implementation details appear to have been slightly
different.

[skip circle]
* This small patch prevents the latest stable release of Cython
from complaining about a failure to type a loop variable, which
otherwise generates some annoying build spam on x86_64 Linux
for example:

```
[1422/1463] Generating 'scipy/spatial/transform/_rotation.cpython-311-x86_64-linux-gnu.so.p/_rotation.c'
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1162:34: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1163:34: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1164:34: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1165:34: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1165:55: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1166:34: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1174:61: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1174:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1175:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1175:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1175:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1176:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1176:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1176:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1177:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1177:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1177:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1179:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1179:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1179:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1180:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1180:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1180:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1181:39: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1181:60: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1181:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1182:21: Index should be typed for more efficient access
performance hint: /home/treddy/github_projects/scipy/scipy/spatial/transform/_rotation.pyx:1185:29: Index should be typed for more efficient access
```

[skip circle]
MAINT: stats: pearsonr SIMD-related shim
…sing_type

MAINT: spatial: missing Cython type in build
DOC: optimize.rst, improve workers examples
For the Linux `distro_multiple_pythons` CI job, also bump
the base Ubuntu version so that we use Python 3.11 (non-default)
and Python 3.12 (default). This required using the deadsnakes PPA,
because the newer Ubuntu doesn't have multiple Python versions
in its main package channel.

Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
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.