Extracting predicted y values from searchlight?

Hi all,

I would like to create a confusion matrix of my searchlight decoding model and normally I would extract the prediction values by doing something like model.predict() but nilearn.decoding.Searchlight does not have this and I am not sure how else to extract them. Does anyone know a way to extract them?

Thank you!

Maybe you can achieve that with a customized scoring arguments that returns y_predict ? Haven’t tried though…
HTH,
Bertrand

@Merve Hi, Merve. I encountered the same problem as you did, have you ever found any solutions to build a confusion matrix of searchlight results?