Skip to content

Commit 4c17f1c

Browse files
committed
Merge pull request scikit-learn#4854 from opahk/master
Fix typo in model evaluation documentation
2 parents 9a4b75a + 59aeb54 commit 4c17f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/model_evaluation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ of the classifier given the true label:
810810

811811
.. math::
812812
813-
L_{\log}(y, p) = -\log \operatorname{Pr}(y|p) = -(y \log p) + (1 - y) \log (1 - p))
813+
L_{\log}(y, p) = -\log \operatorname{Pr}(y|p) = -(y \log (p) + (1 - y) \log (1 - p))
814814
815815
This extends to the multiclass case as follows.
816816
Let the true labels for a set of samples

0 commit comments

Comments
 (0)