>, fs);
printPmtkFigure(<span class="string">'linregPostPredPlugin'</span>)
</pre><img vspace="5" hspace="5" src="linregPostPredDemo_01.png" alt=""> <h2>Bayes<a name="3"></a></h2><pre class="codeinput">model = linregFitBayes(Xtrain, ytrain, <span class="keyword">...</span>
  <span class="string">'prior'</span>, <span class="string">'gauss'</span>, <span class="string">'alpha'</span>, 0.001, <span class="string">'beta'</span>, 1/sigma2);
[mu, v] = linregPredictBayes(model, Xtest);
fig2=figure;
hold <span cla