Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error inside the package: _check_input() got an unexpected keyword argument 'reset' #73

Open
victor-cali opened this issue Jan 10, 2022 · 1 comment

Comments

@victor-cali
Copy link

Version: 0.2

Problem: I just updated the version of mne-features, I am using mne_features.feature_extraction.extract_features() but no matter what the input arguments are, it pops up the following error:

TypeError: _check_input() got an unexpected keyword argument 'reset'

An example could be:

feature = extract_features(X = data, sfreq = 250.0, selected_funcs = 'max_cross_corr', funcs_params = {'max_cross_corr__include_diag': False})

With data being a numpy array with shape: (318, 2, 500), i.e. (n_epochs, n_channels, n_times)

Any ideas?

@paulroujansky
Copy link
Contributor

This is most probably linked to #70 : you might have to upgrade scikit-learn to a version >=1.0 in order to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants