Skip to content

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

@manoji-s

Description

@manoji-s

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions