.. _book_fig_chapter8_fig_cross_val_A: Cross Validation Examples: Part 1 --------------------------------- Figure 8.12 Our toy data set described by eq. 8.75. Shown is the line of best fit, which quite clearly underfits the data. In other words, a linear model in this case has high bias. .. image:: ../images/chapter8/fig_cross_val_A_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_cross_val_A.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_cross_val_A.py :lines: 10- .. raw:: html
:download:`[download source: fig_cross_val_A.py] ` .. raw:: html