moabb icon indicating copy to clipboard operation
moabb copied to clipboard

Accessing True/Pred values for plotting Confusion Matrices

Open Rinkachirikiari opened this issue 1 year ago • 1 comments
trafficstars

Hey there,

Is there a way to easily access the true labels (y_true) and predicted labels (y_pred) from the model evaluation pipeline? This would be helpful for plotting confusion matrices after training or cross-validation.

Best,

Rinkachirikiari avatar Oct 10 '24 19:10 Rinkachirikiari

Hey @Rinkachirikiari,

Apologies for the late reply. In moabb currently the philosophy of only relying on a single metric, to avoid some types of cherry picking of the best metric. It's a philosophy I don't 100% agree with, and with the refactoring of the evaluation function, I hope we can move on it.

Since moabb is a volunteer project, where people work when they have free time, it may take a while for this to happen.

My suggestion for you now is that you directly modify the evaluation code to get what you want.

Cc. @PierreGtch

bruAristimunha avatar Feb 12 '25 00:02 bruAristimunha