Looks like R2 score is the default scoring for both Linear Regression and Decision Tree Regressor. It’s not obvious to me from the reference page on cross_validate which scoring is used by default for different models?
yes r2 score is the default for regressor and accuracy score is the default for classifier.
1 Like
You are using a regression score with a classifier. This is wrong indeed.
I realised my mistake after pulling out my hair
Thank you,
1 Like