8000 Wrong format specifier used when formatting exception message. · mohitsingh1007/scikit-learn@9329577 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9329577

Browse files
committed
Wrong format specifier used when formatting exception message.
1 parent b3a9da9 commit 9329577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cross_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def __init__(self, n, n_folds, indices):
243243
raise ValueError(
244244
"k-fold cross validation requires at least one"
245245
" train / test split by setting n_folds=2 or more,"
246-
" got n_folds=%d.".format(n_folds))
246+
" got n_folds={0}.".format(n_folds))
247247
if n_folds > self.n:
248248
raise ValueError(
249249
("Cannot have number of folds n_folds={0} greater"

0 commit comments

Comments
 (0)
0