.. _book_fig_chapter5_fig_outlier_marginalized: Plot the Outlier Probability ---------------------------- Figure 5.18 The marginal probability for g_i for the "good" and "bad" points shown in figure 5.17. The solid curves show the marginalized probability: that is, eq. 5.100 is integrated over mu. The dashed curves show the probability conditioned on :math:`\mu = \mu_0`, the MAP estimate of :math:`\mu` (eq. 5.102) .. image:: ../images/chapter5/fig_outlier_marginalized_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_outlier_marginalized.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_outlier_marginalized.py :lines: 11- .. raw:: html
:download:`[download source: fig_outlier_marginalized.py] ` .. raw:: html