Is it possible to get classification report from cross_val_score through some workaround? I'm using nested cross-validation and I can get various scores here for a model, however, I would like to see the classification report of the outer loop. Any recommendations?

Thanks. Its giving me classification report for individual fold but I'll make an average out of it.
– utengrMar 2 '17 at 22:35

1

I will add the code for the average classification report in case others want to use it.
– utengrMar 2 '17 at 22:48

Is it actually helpful to explore the report on the inner cv loop? I thought that from a mathematical perspective the inner loop is subject to randomness due to random splits and therefore shouldn't be used to judge whether a certain set of hyperparameters is doing better than others
– OdisseoJan 5 at 4:22

Its just an addition to Sandipan's answer as I couldn't edit it. If we want to calculate the average classification report for a complete run of the cross-validation instead of individual folds, we can use the following code: