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

Code Issue (Please help ) #1

Open
ShibaPrasad opened this issue Apr 11, 2017 · 0 comments
Open

Code Issue (Please help ) #1

ShibaPrasad opened this issue Apr 11, 2017 · 0 comments

Comments

@ShibaPrasad
Copy link

Traceback (most recent call last):
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 50, in
train()
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 42, in train
pipe.fit(train, y_train)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 164, in fit
Xt, fit_params = self._pre_transform(X, y, **fit_params)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 145, in _pre_transform
Xt = transform.fit_transform(Xt, y, **fit_params_steps[name])
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/base.py", line 458, in fit_transform
return self.fit(X, y, **fit_params).transform(X)
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 21, in fit
self.W = eegtools.spatfilt.csp(class_covs[0], class_covs[1], 6)
IndexError: list index out of range

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

1 participant