Error: cannot import name 'SequentialFeatureSelector'

Hi all!
Could you assist to import ‘SequentialFeatureSelector’ from ‘sklearn.feature_selection’
Have got ImportError: cannot import name ‘SequentialFeatureSelector’ from ‘sklearn.feature_selection’ (/opt/anaconda3/envs/datalore-user/lib/python3.7/site-packages/sklearn/feature_selection/

Thanks in advance,

Hello Bulat,

thanks for the question, the issue is SequentialFeatureSelector was implemented in scikit-learn v.0.24, but Datalore uses v.0.23.2 in the default environment at the moment.

I created a request to update this library in the default environment, but until it is done you need to manually update the library via Library Manager.

Click on the scikit-learn at the Installed tab, select v.0.24 or newer in the drop-down list, and click Update:

Screenshot 2021-02-18 at 21.11.47

Screenshot 2021-02-18 at 21.12.52


we updated the default environment in the beginning of the week, so now all new notebooks will automatically include the up to date version of the scikit-learn library.