rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.

Home Page:https://rasbt.github.io/mlxtend/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

np.float is deprecated since numpy 1.20.0

hubutui opened this issue · comments

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

So this line needs updating:

scores = np.empty(dtype=np.float, shape=(n_splits,))

Replace it with float or np.float64.