Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 41e211c

Browse filesBrowse files
preconditionItay
authored and
Itay
committed
MAINT add missing space in error message in SVM (scikit-learn#25913)
1 parent 59f3b32 commit 41e211c
Copy full SHA for 41e211c

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎sklearn/svm/_base.py

Copy file name to clipboardExpand all lines: sklearn/svm/_base.py
+3-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.