michaelschaub / calcium-imaging-analysis

3 stars 1 forks source link

Allow limiting number of trials in decoding. #137

Closed Joloco109 closed 1 year ago

Joloco109 commented 1 year ago

Add a parameter that limits the number of trials used in decoding.

Joloco109 commented 1 year ago

There are two ways of implementing this:

  1. First cut down the number of trials then create repetitions of train/test splits, like done now.
  2. Or cut down the down the number of trials individually for each repetition, more complicated to implement as we can not use n_splits of StratifiedShuffleSplit