smazzanti / mrmr

mRMR (minimum-Redundancy-Maximum-Relevance) for automatic feature selection at scale.
MIT License
531 stars 79 forks source link

AttributeError: module 'polars' has no attribute 'pearson_corr' #50

Open jmakov opened 5 months ago

jmakov commented 5 months ago

Looks like polars made a breaking change at some point and renamed it to .corr (https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.corr.html#polars.corr)

jmakov commented 5 months ago

I see the fix is already merged. But the latest release on pypi is from jun 30 2023. Also the conda version seems to be up to date, but conda install is not mentioned in the readme. Also might be a good idea to add requirements.txt as python setup.py install fails currently.

adammalloul commented 4 months ago

+1

bryanbocao commented 1 week ago

+1

bryanbocao commented 1 week ago

0.17.15 works from my side.

pip install polars==0.17.15