abuzarmahmood / blech_clust

GNU General Public License v3.0
7 stars 4 forks source link

144 emg classifier #145

Open abuzarmahmood opened 8 months ago

abuzarmahmood commented 8 months ago
abuzarmahmood commented 8 months ago

Need code to generate plots after inference. Starting point would be to generate plots of the following kinds as well as:

Plot showing timeseries of blocks of mouth movements colored by what movement they were.

scored_segmented_overlay_black_lines wanted_event_examples

abuzarmahmood commented 8 months ago

First draft of plots

mouth_movement_timeseries mouth_movement_lineplots

abuzarmahmood commented 8 months ago

Currently too many false positives because classifier doesn't have a negative category. Can use MAD threshold on baseline to mark negative events. Likely will be better to use top-hat filtered data to avoid long deflections as seen in trials #7 and 8.

top_hat_filtered_emg_env

abuzarmahmood commented 8 months ago

We should also probably train classifier on top-hat filtered data because the first deflection in trial #16 above is being registered as a gape (see overlay lineplot in comment further above).