-
Notifications
You must be signed in to change notification settings - Fork 32
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
Set frequency bands value while extracting features #56
Comments
One way is to do it following way using user-defined features
But Issue with energyfreq is as follow
Please check this colab file for reproducing the problem |
your data is of dtype int64
do:
scores = cross_val_score(pipe, data.astype(float), y, cv=skf)
and it works
… |
Thanks. In both cases, the data type is int64, but in the case of |
i figured out this is the issue with |
int64 and float64 are the same size. 64 bits per entry. It just needs to be
fixed in mne-features.
… |
I am trying to extract frequency band features using following way
It throwing me following error
'The entries of the given
freq_bandsparameter (%s) must be positive and less than the Nyquist 'frequency.' % str(freq_bands).
So how can I remove the 100Hz frequency value limit from
['energy_freq_bands','pow_freq_bands']
while extracting features.I mean how can I just set
freq_bands=np.array([0.5, 4., 8., 13.,30.])
without changing much thingsThe text was updated successfully, but these errors were encountered: