lkorczowski / Tinnitus-n-Sleep

Detecting events in sleeping tinnitus patients
MIT License
1 stars 0 forks source link

absurdly slow reporting function in Inter_subject #55

Closed lkorczowski closed 4 years ago

lkorczowski commented 4 years ago

So abviously, something is wrong in the reporting function.

In Bruxism_Inter_subject_analysis.ipynb

1BA07_nuit_hab.edf preprocess... DONE (13.10s) report... DONE (172.70s)
1BA07_nuit_son.edf preprocess... DONE (7.73s) report... DONE (108.34s)

So it takes about 2,5 min per subject, before it was about 30s (+400%)

Most probably it is the use of n_adaptive but we should investigate.

lkorczowski commented 4 years ago

wont fix until it is a huge problem.

Parallel computing of the reporting loop could be a solution.