Skip to content

Commit b8c94d6

Browse files
committed
started to strip the modality codes to make them ready for publishing
1 parent c4ac8d9 commit b8c94d6

2 files changed

Lines changed: 54 additions & 197 deletions

File tree

eeg_fruend.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ def finalFigure(ds_pristine, ds, senses, channel):
130130
# take one channel: yields (nfolds x ntimepoints)
131131
ch_sens = backproj[:, ch_of_interest, :]
132132

133-
# sign of sensitivities is more or less arbitrary, but when flipped
134-
# to have to big bump in the middle on the positive side, they all
135-
# really look like the diff wave -- maybe need some better
136-
# justification ;-)
133+
# sign of sensitivities is up to classifier relabling of the
134+
# input classes.
135+
# TODO: make it explicit, for now judge by the mean and flip
136+
# if needed
137137
if ch_sens.mean() < 0:
138138
ch_sens *= -1
139139

0 commit comments

Comments
 (0)