.. _book_fig_chapter8_fig_gp_mu_z: Cosmology Regression Example ---------------------------- Figure 8.11 A Gaussian process regression analysis of the simulated supernova sample used in figure 8.2. This uses a squared-exponential covariance model, with bandwidth learned through cross-validation. .. image:: ../images/chapter8/fig_gp_mu_z_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_gp_mu_z.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_gp_mu_z.py :lines: 10- .. raw:: html
:download:`[download source: fig_gp_mu_z.py] ` .. raw:: html