09.06.2014 Views

L'architecture des systèmes symboliques - Afscet

L'architecture des systèmes symboliques - Afscet

L'architecture des systèmes symboliques - Afscet

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.

4<br />

On calcule d’abord l’indétermination sur le Code CS, au sommet-racine x 0 , c’est-à-dire avant<br />

de commencer le questionnement : H(T/x 0 ) = ∑ Pr(t j /x 0 ).log 1/Pr(t j /x 0 )<br />

j<br />

Code 31 34 52 54 64 Total H(T/x)<br />

__ __ __ __ __ __ __<br />

sommet x 0 3 1 2 1 2 9 2,197<br />

On obtient H(T/x 0 ) = 2,197 . Ensuite, on calcule de combien chaque question, si elle était<br />

posée la première, réduirait cette indétermination.<br />

Bigramme q 1 :<br />

Code 31 34 52 54 64 Total H(T/x)<br />

__ __ __ __ __ __ __<br />

sommet :<br />

x 1 CH 1 1 2 4 1,5<br />

x 2 DO 2 2 0<br />

x 3 FA 1 1 0<br />

x 4 EM 1 1 2 1<br />

On calcule la réduction d’indétermination sur le Code CS par l’information mutuelle de<br />

Shannon : INFO(q 1 ,x 0 ) = H(T/x 0 ) - ∑ Pr(x k ). H(T/x k )<br />

k<br />

On obtient INFO(q 1 ,x 0 ) = 2,197 – (4/9 x 1,5 + 2/9 x 0 + 1/9 x 0 + 2/9 x 1) = 1, 309 bit<br />

On effectue le même calcul pour chacune <strong>des</strong> questions candidates, et l’on obtient :<br />

Bigramme<br />

Quantité d’information<br />

q 1 1,309<br />

q 2 1,447<br />

q 3 1,447<br />

q 4 1,447<br />

q 5 1,129<br />

q 6 1,129<br />

q 7 1,129<br />

q 8 0,237<br />

q 9 0,237<br />

q 10 0<br />

On cherche la question : q(x 0 ) : Max INFO(q i ,x 0 )<br />

i<br />

Résultat : L’élue est q 2 , première <strong>des</strong> trois meilleures questions. Ses réponses seront :<br />

q 2 = AU : décision Code 64 (chauffeurs)<br />

q 2 = CT : nouveau sommet-question x 5

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

Saved successfully!

Ooh no, something went wrong!