In cross-validation, the cv parameter determines the cross-validation splitting strategy. Ex: If cv=3, it is a 3-fold cross-validation. I was curious to see the impact of the value of cv on the model metrics.
Workflow
Load up a trained model
Vary cv from 1 to 320 and run cross validation
On each run, record the model metrics in precision, recall and f1 score
The following is the graph I got.
Questions
What should be a good value of cv to use to consistently measure model performance?
In cross-validation, the
cv
parameter determines the cross-validation splitting strategy. Ex: If cv=3, it is a 3-fold cross-validation. I was curious to see the impact of the value ofcv
on the model metrics.Workflow
cv
from1
to320
and run cross validationprecision
,recall
andf1 score
The following is the graph I got.
Questions
cv
to use to consistently measure model performance?cc: @anandthakker @batpad @geohacker