bdyetton / YettonEtAl_2015_REMDetector

Matlab code for the Rapid Eye Movement detector of Yetton Et Al 2015
https://osf.io/fd837/
5 stars 5 forks source link

Incorrect output labels and ECOC matrix dimension in YettonEtAl_MachineLearning detector #1

Open klacourse opened 1 month ago

klacourse commented 1 month ago

Hi,

I encountered an issue when trying to run the "YettonEtAl_MachineLearning" detector on my dataset.

Steps to reproduce:

  1. I ran the detector on my data without any errors.
  2. However, the output labels had the dimensions of the components instead of matching the time series (i.e., seconds of the time series).
  3. I looked into the ECOC demo and suspect that the data matrices need to be transposed, including the classes matrix.
  4. After transposing, I now receive an error when running the "YettonEtAl_MachineLearning" detector.

Issue:

Question:

Am I missing something in the data preparation or processing? Should the ECOC matrix indeed be resized to 3x33, and if so, could the preloaded matrix in the repository be incorrect?

Any guidance on how to resolve this would be greatly appreciated!

Thanks in advance!

bdyetton commented 1 month ago

Hi Karine, I think your best bet here is to use the HatzilabrouEtAl algorithm. It is:

klacourse commented 1 month ago

Hi Ben,

Thanks for your fast answer. I successfully ran the HatzilabrouEtAl algorithm on my own data.

Best regards, Karine