rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.
https://rasbt.github.io/mlxtend/
Other
4.82k stars 853 forks source link

np.float is deprecated since numpy 1.20.0 #1016

Closed hubutui closed 1 year ago

hubutui commented 1 year ago

According to upstream doc, np.float is deprecated since numpy 1.20.0

So this line needs updating: https://github.com/rasbt/mlxtend/blob/061fdb1b5301702bf809f424c80e7069bb7e536a/mlxtend/evaluate/bootstrap_point632.py#L204

Replace it with float or np.float64.