smazzanti / mrmr

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

Fix polars correlation function #40

Closed dcsuka closed 6 months ago

dcsuka commented 8 months ago

There is a new syntax for computing Pearson correlations in Polars, the previous one errors for me. It appears that pearson_corr is no longer a function in Polars.

https://docs.pola.rs/py-polars/html/reference/expressions/api/polars.corr.html