8000 MAINT add missing space in error message in SVM (#25913) · Veghit/scikit-learn@41e211c · GitHub
[go: up one dir, main page]

Skip to content

Commit 41e211c

Browse files
preconditionItay
authored andcommitted
MAINT add missing space in error message in SVM (scikit-learn#25913)
1 parent 59f3b32 commit 41e211c

File tree

Expand file tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/svm/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ def fit(self, X, y, sample_weight=None):
268268
dual_coef_finiteness = np.isfinite(dual_coef).all()
269269
if not (intercept_finiteness and dual_coef_finiteness):
270270
raise ValueError(
271-
"The dual coefficients or intercepts are not finite. "
272-
"The input data may contain large values and need to be"
273-
"preprocessed."
271+
"The dual coefficients or intercepts are not finite."
272+
" The input data may contain large values and need to be"
273+
" preprocessed."
274274
)
275275

276276
# Since, in the case of SVC and NuSVC, the number of models optimized by

0 commit comments

Comments
 (0)
0