
Explanation:
The question asks for the appropriate value of k in k-fold cross-validation for a classification task with limited data. Based on the community discussion and standard machine learning best practices, k=10 is the most commonly recommended value. The answer description explicitly states that k=5 or k=10 provides a good compromise for the bias-variance tradeoff, with k=10 being particularly common. The community discussion shows 100% consensus on answer B (k=10), with comments reinforcing that k=10 is the standard choice that allows comprehensive evaluation while managing computational cost. Option A (k=1) would be leave-one-out cross-validation, which is mentioned as having high variance. Options C (k=0.5) and D (k=0.9) are invalid since k must be a positive integer representing the number of folds.
Ultimate access to all questions.
You are solving a classification task and need to evaluate your model on a limited data sample using k-fold cross-validation. You start by configuring the k parameter as the number of splits.
Which value should you use for the k parameter?
A
k=1
B
k=10
C
k=0.5
D
k=0.9
No comments yet.