taspinar / siml

Machine Learning algorithms implemented from scratch
http://www.ataspinar.com
MIT License
484 stars 259 forks source link

Question on sample points length #2

Closed akatav closed 5 years ago

akatav commented 5 years ago

Great code! very useful, thank you. i have a question. i am trying to adopt this sort of method to analyse my resting EEG data of MCI vs normal patients.These are .set files where for each individual who was examined, each channel (there are totally 19 electrodes placed), the sample points are varying in length. How is this sort of a problem addressed where for an individual, we have a n_channels*n_times where n_times is different for each individual.

taspinar commented 5 years ago

I guess these are two seperate questions:

  1. How should N different channels be handled?
  2. How should M different samples (each with N channels but varying recording time) be handled?

For 1 i would say that each channel should be processed independently. Meaning that N different channels will produce NK features assuming each channel produces K features. For question 2 it really depends on how* varied the sample lengths are. You could split each sample into subsamples of the same length. These subsamples could be overlapping or not.

akatav commented 5 years ago

thank you.