smarie/python-m5p

`X_idx_sorted` fit argument will not be supported in sklearn>=1.1.0

tkaraouzene opened this issue · 2 comments

The following line (https://github.com/smarie/python-m5p/blob/main/src/m5py/main.py#L184) will not work with new sklearn versions since X_idx_sorted has been deprecated by sklearn (c.f: scikit-learn/scikit-learn#21593)

Indeed, good catch @tkaraouzene !
If I'm not mistaken, the line that fails is https://github.com/smarie/python-m5p/blob/main/src/m5py/main.py#L214

Would you like to propose a PR ?

Fix available in 0.3.1 released in a few minutes. Thanks @tkaraouzene and @preinaj !