01.png" alt=""> <p class="footer"><br>
      Published with MATLAB&reg; 7.12<br></p></div><!--
##### SOURCE BEGIN #####
%% Reproduce fig 3.5 on p56 of "Elements of statistical learning" 
%
%%

% This file is from pmtk3.googlecode.com

loadData('prostate');
[n, d] = size(X);
X = standardizeCols(X); 
y = centerCols(y); 
mse = zeros(2^8-1, 1); 
ss = powerset(1:d);
ss(1) = [];
for i=1:numel(ss);
    ndx = ss{i};
    model = linregFit(X(:, ndx), y, 'preproc', struct('addOnes', false));
    model.w = padZeros(mod