rickvanveen / sklvq

http://sklvq.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
47 stars 9 forks source link

np.int deprecation error in numpy #71

Open jrdalenberg opened 4 months ago

jrdalenberg commented 4 months ago

np.int is deprecated since numpy 1.20.0 and results into an error in the LVQBaseClass:

https://github.com/rickvanveen/sklvq/blob/4fba52a14ed37b0444becb96ef09c40d38d263ff/sklvq/models/_base.py#L691

np.int should be changed into int