Skip to content

Commit

Permalink
Combining MSE and L2, MAE and L1
Browse files Browse the repository at this point in the history
They're essential the same
  • Loading branch information
bfortuner committed Apr 20, 2018
1 parent a58445f commit 016f83b
Showing 1 changed file with 7 additions and 31 deletions.
38 changes: 7 additions & 31 deletions docs/loss_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,49 +87,25 @@ Kullback-Leibler
:pyobject: KLDivergence


.. _l1_loss:
.. _mae:

L1
=======
MAE (L1)
========

Excellent overview below [6] and [10].
Mean Absolute Error, or L1 loss. Excellent overview below [6] and [10].

.. rubric:: Code

.. literalinclude:: ../code/loss_functions.py
:pyobject: L1


.. _l2_loss:

L2
==

Excellent overview below [6] and [10].

.. rubric:: Code

.. literalinclude:: ../code/loss_functions.py
:pyobject: L2


.. _mle:

Maximum Likelihood
==================

.. rubric:: Code

.. literalinclude:: ../code/loss_functions.py
:pyobject: MLE


.. _mse:

Mean Squared Error
==================
MSE (L2)
========

Description of MSE...
Mean Squared Error, or L2 loss. Excellent overview below [6] and [10].

.. literalinclude:: ../code/loss_functions.py
:language: python
Expand Down

0 comments on commit 016f83b

Please sign in to comment.