mrmr icon indicating copy to clipboard operation
mrmr copied to clipboard

Any requirement on joblib version ?

Open Blup-M opened this issue 1 year ago • 0 comments

Hello,

I would like to use mrmr_regression to perform some feature selection but when I run the following line :

feature_select_MRMR = mrmr_regression(X=initial_data_set, y=target, K=10, n_jobs=1)

Where my data and target are in pd.DataFrame and pd.Series, I run into the following error :

AttributeError : Can't pickle local object 'correlation.._correlation'

For some reasons, I have to use an environment that contains old libraries among which joblib 0.11 . I see that there is no requirement on joblib's version for mrmr to run smoothly but I was still wondering if it was really the case (both numpy and panda satisfy version requirement).

If that is not a joblib version issue, What am I doing wrong in the way I use this function ? How can I get mrmr_regression to work ?

Thanks in advance for your answer, Have a good day.

Blup-M avatar Nov 07 '23 15:11 Blup-M