DynamicTimeWarping / dtw-python

Python port of R's Comprehensive Dynamic Time Warp algorithms package
https://dynamictimewarping.github.io
GNU General Public License v3.0
279 stars 35 forks source link

numpy issue #91

Closed aazz7777 closed 6 months ago

aazz7777 commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

AttributeError: module 'numpy' has no attribute 'int'. np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations To Reproduce Steps to reproduce the behavior:

Important: Please provide a self-contained example. A colab may also be ok.

Version Please state the version of dtw-python (as reported by pip or conda).:1.1.6

is it the version issue?

tonigi commented 6 months ago

We are at version 1.4.2... in any case it's a warning.