Skip to content

Commit

Permalink
Update logistic_regression.rst (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
andybergon authored and bfortuner committed Apr 2, 2018
1 parent 290e610 commit adba30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/logistic_regression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The benefits of taking the logarithm reveal themselves when you look at the cost

The key thing to note is the cost function penalizes confident and wrong predictions more than it rewards confident and right predictions! The corollary is increasing prediction accuracy (closer to 0 or 1) has diminishing returns on reducing cost due to the logistic nature of our cost function.

..rubric:: Above functions compressed into one
.. rubric:: Above functions compressed into one

.. image:: images/logistic_cost_function_joined.png
:align: center
Expand Down

0 comments on commit adba30c

Please sign in to comment.