12.02.2014 Views

00003

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Solucions:<br />

1. Exercici 1:<br />

Partició CP Nombre fulles R 2 TSS RSS SSE (explicada per l'arbre)<br />

0 0.52 1 0 5380227 5380227 0<br />

1 0.14 2 0.52 5380227 2540366 2839861<br />

2 0.05 3 0.66 5380227 1777815 3602412<br />

3 0.013 4 0.72 5380227 1499646 3880581<br />

4 0.01 5 0.73 5380227 1429423 3950804<br />

2. Exercici 3:<br />

(a)<br />

(b) y k = φ ( α k + ∑ 2<br />

h=1 w hkφ ( α h + ∑ 4<br />

i=1 w ihx i<br />

))<br />

(per k=1,2,3 i on φ(x) =<br />

e x<br />

1+e x )<br />

(c) Pr(setosa)=0 ; Pr(versicolor)=0.154 ; Pr(virginica)= 0.846<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!