-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Closed
Description
The scikit-learn Travis build using the numpy dev wheel started failing two days ago with the error (see for example this one):
from numpy.core.umath_tests import inner1d
ModuleNotFoundError: No module named 'numpy.core.umath_tests'
This is due to fbb29df#diff-33315af1a22893e97676ee134db5ce1c which renamed compiled modules in numpy.core.
IIUC inner1d was kind of private and we were not meant to use it. What would you suggest is a good replacement for inner1d(arr1, arr2)
? I found that np.einsum('...i,..i', arr1, arr2)
seemed to be doing something close in our uses cases (arr1 is of shape (p,) and arr2 of shape (n, p) in all our tests) but maybe there is a better replacement?
Ethunxxx and Utumno
Metadata
Metadata
Assignees
Labels
No labels