8000 DOC Fix typo in logistic regression predict_proba docstring (#29162) · scikit-learn-bot/scikit-learn@8d53479 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d53479

Browse files
DOC Fix typo in logistic regression predict_proba docstring (scikit-learn#29162)
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
1 parent c623dea commit 8d53479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/_logistic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ def predict_proba(self, X):
14031403
the softmax function is used to find the predicted probability of
14041404
each class.
14051405
Else use a one-vs-rest approach, i.e. calculate the probability
1406-
of each class assuming it to be positive using the logistic function.
1406+
of each class assuming it to be positive using the logistic function
14071407
and normalize these values across all the classes.
14081408
14091409
Parameters

0 commit comments

Comments
 (0)
0