You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
found when writing coverage testing, calls to histogram_intersection in TemporalDictionaryEnsemble throw an error due to the use of np.min instead of np.minimum, probably some numpy change some time back
histogram_intersection(first,second)
File "C:\Code\aeon\aeon\classification\dictionary_based\_tde.py", line 1023, in histogram_intersection
[
File "C:\Code\aeon\aeon\classification\dictionary_based\_tde.py", line 1024, in <listcomp>0if first[n] ==0else np.min(first[n], second[n])
File "C:\Code\aeon\venv\lib\site-packages\numpy\core\fromnumeric.py", line 2953, in minreturn _wrapreduction(a, np.minimum, 'min', axis, None, out,
File "C:\Code\aeon\venv\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreductionreturn reduction(axis=axis, out=out, **passkwargs)
File "C:\Code\aeon\venv\lib\site-packages\numpy\core\_methods.py", line 45, in _aminreturn umr_minimum(a, axis, None, out, keepdims, initial, where)
numpy.exceptions.AxisError: axis 1 is out of bounds for array of dimension 0
Versions
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
found when writing coverage testing, calls to histogram_intersection in TemporalDictionaryEnsemble throw an error due to the use of np.min instead of np.minimum, probably some numpy change some time back
Steps/Code to reproduce the bug
Expected results
expected value is 2.
Actual results
Versions
No response
The text was updated successfully, but these errors were encountered: