KamitaniLab / brain-decoding-cookbook-public

MIT License
23 stars 5 forks source link

Fix featdec eval #8

Closed micchu closed 9 months ago

micchu commented 9 months ago

l.103-104の

            true_labels = pred_labels
            true_y = features_test.get(layer=layer, label=true_labels)

を行うと,single trialの数分だけ水増しされた true_y が渡されるため,現行の pairwise_identification 関数では,identification accuracy の値が不正に低く抑えられる現象が発生します. single trialのidentificaion accuracyに,正しく重複のない true_y が渡るように変更しています.