Skip to content

Commit 87de9d0

Browse files
authored
DOC Fix pinball loss fomula in linear_model.rst (#23445)
A minus sign got lost there.
1 parent 7102832 commit 87de9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/linear_model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ see also :class:`~sklearn.metrics.mean_pinball_loss`,
15121512
\begin{cases}
15131513
q t, & t > 0, \\
15141514
0, & t = 0, \\
1515-
(1-q) t, & t < 0
1515+
(q-1) t, & t < 0
15161516
\end{cases}
15171517
15181518
and the L1 penalty controlled by parameter ``alpha``, similar to

0 commit comments

Comments
 (0)