-
Notifications
You must be signed in to change notification settings - Fork 8
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
Data preprocessing codes #1
Comments
hi - thanks for your interest... |
Thanks for quick reply! I have tried both ways, training from scratch or using your pretrained model. I preprocess the ECGs by applying a high-pass filter at 0.8 Hz, split into 10 sec non-overlapping segments and et 2560-length vectors, and z-normalize the data (per person). With the provided pretrained model, I extract the features and feed them to the supervised model for Amigos dataset, and train as described in the paper for 100 epochs. In the end I am getting around 72% for binary classification of arousal ( where the binary labels are given as < 5 being negative, otherwise positive). So I suppose that the issue should be somewhere in preprocessing before the feature extraction. |
thanks for sharing your setup.. however, I am not sure what is exactly going wrong at your end..
|
Hi, Thanks for your paper and implementation. I also has a problem with the filtered data. could you share your matlab code that you use for your data? |
Hi, I want to know that could you prepare the data for train the model? Is it possible for you to send your code for me? |
Hi, after some trying I was still not able to reproduce the results reported in the paper with my preprocessing implementation |
@katerynaCh @zara6697 |
Ok, if I reach the result, I would send you the code. thanks. |
thanks, I used it but the files of signals and the labels is not defined. I do not understand how to save the files. |
I am adding a piece of preprocessing code here for reference. Hope this helps.
|
Thanks for your help, could you also help me and say for using the function "def extract_amigos_dataset(overlap_pct, window_size_sec, data_save_path, save):", how should I save the files (for example one file for each subject or all subject in one file)? how should I save the label file? Best regards. |
Hello, I have also encountered difficulties in data processing. I cannot convert dreamer original dataset and wesad original dataset into the format required by the model. How is your current progress? Can you share the format of your dataset after conversion? |
Hi! I am facing issues trying to reproduce your results on AMIGOS dataset for both binary and multiclass classification (both with training from scratch and with extracting the features first with your provided model). The results I am getting are about 10% lower than reported ones. Can you please share more explicitly what kind of preprocessing has been done. You report the high-pass filtering at 0.8 Hz, in one of the papers you also report person-specific z-normalization. Has anything else been done? In which order have they been performed? Did you apply high-pass filter on the whole sequence or on 10-second segments? Also, did you use the self-reported labels or labels from external annotators?
In general, if you could share the preprocessing codes that would be extremely helpful, even if they are messy.
The text was updated successfully, but these errors were encountered: