We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4adff commit 4e5f636Copy full SHA for 4e5f636
1 file changed
sklearn/utils/_array_api.py
@@ -124,10 +124,10 @@ def _get_namespace_device_dtype_ids(param):
124
125
126
def _check_array_api_dispatch(array_api_dispatch):
127
- """Check that array_api_compat is installed and NumPy version is compatible.
+ """Checks that array API support is functional.
128
129
- array_api_compat follows NEP29, which has a higher minimum NumPy version than
130
- scikit-learn.
+ In particular scipy needs to be recent enough and the environment variable
+ needs to be set: SCIPY_ARRAY_API=1.
131
"""
132
if not array_api_dispatch:
133
return
0 commit comments