probml / pml-book

"Probabilistic Machine Learning" - a book series by Kevin Murphy
MIT License
5k stars 597 forks source link

Book 1, Figure 11.6 #620

Closed jdtardos closed 5 months ago

jdtardos commented 1 year ago

The dotted lines in Fig. 11.6 do not correspond to the diagonal, where predicted_y = true_y.

Fix: in linreg_poly_vs_degree.ipynb, substitute line: ax.plot(ax.get_xlim(), ax.get_ylim(), ls="--", c=".3") by: ax.plot(ax.get_xlim(), ax.get_xlim(), ls="--", c=".3")

murphyk commented 5 months ago

fixed, thx