EXA Use cv=5 instead of cv=10 in plot_validation_curve.py
@@ -26,7 +26,7 @@ X, y = digits.data, digits.target
param_range = np.logspace(-6, -1, 5)
train_scores, test_scores = validation_curve(
SVC(), X, y, param_name="gamma", param_range=param_range,
- cv=10, scoring="accuracy", n_jobs=1)
+ cv=5, scoring="accuracy", n_jobs=1)
train_scores_mean = np.mean(train_scores, axis=1)
train_scores_std = np.std(train_scores, axis=1)
test_scores_mean = np.mean(test_scores, axis=1)
