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

new_y in extract function assigning different label which mislead the model #5

Open
manoji-s opened this issue Sep 21, 2022 · 1 comment

Comments

@manoji-s
Copy link

manoji-s commented Sep 21, 2022

image

In extract function from BCI_functions.ipynb, if the averaged y label of a particular window is a float (some y labels is from one class and remaining from another class during transition), the y label assigned to that window is 0. Instead it should be either floor or ceil of that averaged value right?

E.g: Consider y values of a window as [2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3] => ave_y = 2.56
Either this window's y label should be 2 or 3.
But this function will assign it as 0 (in the else part)

Am I miss something here? Please clarify me this. Thanks!

@ShieldY5
Copy link

ShieldY5 commented Oct 1, 2022

When I try to remove tags other than 4 and 5, I encountered the same problem. The tags of training set and verification set are all 0

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