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

Preprocessing #4

Open
rajatanand86 opened this issue Sep 8, 2022 · 1 comment
Open

Preprocessing #4

rajatanand86 opened this issue Sep 8, 2022 · 1 comment

Comments

@rajatanand86
Copy link

Hi. The preprocessing.py file takes very long to run on my desktop.
Can someone suggest some configuration (on AWS) where this can be run faster?

@lingchm
Copy link
Owner

lingchm commented Sep 8, 2022

It also took very long time for me. The time consuming part is looping through EEG signals and extracting features for each single sliding window. I think two ways this can be speed up is

  1. parallelize the preprocessing,
  2. the time slots with seizure are small so this is a highly imabalanced problem. At the end of the day you probably don't need >30 minutes of non-seizure data to learn how to detect the <10s of seizure epochs. So cropping the non-seizure times in a way that it still provides enough diversity of non-seizure patterns would be another option.
    Unfortunately I don't have time to improve the code. If someone else wants to develop some improvement feel free to do so or reach out to me at [email protected]

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