</li><li><a href="#3">Plot error vs degree</a></li><li><a href="#4">Plot fitted function for chosen values of degree</a></li><li><a href="#5">Compute log evidence for each model</a></li></ul></div><h2>Linear Regression with Polynomial Basis of different degrees<a name="1"></a></h2><pre class="codeinput"><span class="comment">% based on code code by Romain Thibaux</span>
<span class="comment">% (Lecture 2 from http://www.cs.berkeley.edu/~asimma/294-fall06/)</span>
</pre><pre class="codeinput"><span class="co