23.12.2013 Views

Mélanges de GLMs et nombre de composantes : application ... - Scor

Mélanges de GLMs et nombre de composantes : application ... - Scor

Mélanges de GLMs et nombre de composantes : application ... - Scor

SHOW MORE
SHOW LESS

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

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

Annexe B. Métho<strong>de</strong>s <strong>de</strong> segmentation<br />

Figure B.2 – Construction d’un arbre binaire<br />

choisissons le plus p<strong>et</strong>it. La table B.1 perm<strong>et</strong> <strong>de</strong> tracer l’erreur d’apprentissage en fonction du<br />

paramètre <strong>de</strong> complexité <strong>et</strong> <strong>de</strong> la taille <strong>de</strong> l’arbre (voir figure B.3).<br />

Remarque B.1.1. Quelques commentaires sur la lecture <strong>de</strong> ce tableau :<br />

• le troisième arbre avec <strong>de</strong>ux divisions correspond à α ∈]2.30, 3.10] ,<br />

• R normalise l’erreur, ce qui explique que l’erreur <strong>de</strong> la racine soit <strong>de</strong> 100% (1). La vraie<br />

erreur <strong>de</strong> la racine peut être obtenue en affichant l’arbre (ici elle est <strong>de</strong> 45.465%),<br />

• l’arbre maximal T max (non élagué) r<strong>et</strong>ourné par défaut par la fonction rpart() correspond<br />

à la <strong>de</strong>rnière ligne <strong>de</strong> la cptable.<br />

CP nsplit rel error xerror xstd CP nsplit rel error xerror xstd<br />

3.3981e-01 0 1.000 1.000 0.0084 1.9559e-04 59 0.312 0.332 0.0060<br />

3.0539e-01 1 0.660 0.660 0.0077 1.8255e-04 68 0.310 0.332 0.0060<br />

5.9982e-03 2 0.354 0.361 0.0062 1.3040e-04 73 0.309 0.332 0.0060<br />

7.8237e-04 5 0.336 0.337 0.0061 1.0432e-04 82 0.308 0.332 0.0060<br />

5.2158e-04 10 0.331 0.333 0.0060 9.7796e-05 88 0.307 0.333 0.0060<br />

4.5638e-04 15 0.328 0.333 0.0060 8.6930e-05 97 0.306 0.334 0.0060<br />

3.9119e-04 19 0.326 0.333 0.0060 6.5198e-05 100 0.306 0.334 0.0060<br />

3.6945e-04 21 0.325 0.333 0.0060 4.3465e-05 117 0.305 0.337 0.0061<br />

3.2599e-04 32 0.319 0.333 0.0060 3.7256e-05 132 0.304 0.339 0.0061<br />

3.1295e-04 34 0.318 0.333 0.0060 3.2599e-05 139 0.304 0.340 0.0061<br />

2.6079e-04 39 0.317 0.332 0.0060 2.6079e-05 159 0.303 0.340 0.0061<br />

2.1733e-04 53 0.31360 0.334 0.0060 0.0000e+00 174 0.303 0.341 0.0061<br />

Table B.1 – Paramètres <strong>de</strong> complexité, cptable<br />

190

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

Saved successfully!

Ooh no, something went wrong!