Given that I am using Scikit learn and cross-validation and want to compare my accuracy result for each fold with my baseline
I am using 10-fold cross-validation and how for each fold I return the baseline for that fold. is it possible?
clf= RandomForestClassifier(n_estimators=100, random_state=20)
# 10-Fold Cross validation
scores = cross_val_score(clf, features, labels, cv=10)
scores
Result: array([0.45454545, 0.63636364, 0.8 , 0.8 , 0.6 , 0.6 , 0.5 , 0.9 , 0.66666667, 0.33333333])