cognition bayesienne c2€¦ · • cours 5 09/01/2013 c-adm 15 – comparaison bayésienne de...
TRANSCRIPT
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 1
Bayesian Cognition Cours 2 05/12/2012
Programmation Bayésienne : exemple
Julien Diard CNRS - Laboratoire de Psychologie et NeuroCognition
http://diard.wordpress.com [email protected]
Pierre Bessière CNRS - Laboratoire de Physiologie de la Perception et de l’Action
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 2
Plan / planning • Cours 1 28/11/2012
– Incomplétude, incertitude, Programmation et inférence bayésienne • Cours 2 05/12
– Programmation bayésienne : exemple • Cours 3 12/12
– Programmation bayésienne des robots • Cours 4 19/12
– Modélisation bayésienne en sciences cognitives • Cours 5 09/01/2013 C-ADM 15
– Comparaison bayésienne de modèles, distinguabilité de modèles • Cours 6 16/01 C-ADM 15
– Compléments • Examen 30/01 (pour les M2)
!
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 3
Plan
• Résumé + questions ! • Exemple détaillé : Water treatment unit • « Vocabulaire » mathématique :
distributions usuelles • Taxonomie des classes de modèles
probabilistes
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 4
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 5
Probability Theory As Extended Logic
• Probabilités « subjectives » – Référence à un état de
connaissance d’un sujet • P(« il pleut » | Jean),
P(« il pleut » | Pierre) • Pas de référence à la
limite d’occurrence d’un événement (fréquence)
• Probabilités conditionnelles
– P(A | π) et jamais P(A)
• Probabilités « fréquentistes » – Une probabilité est
une propriété physique d’un objet
– Axiomatique de Kolmogorov, théorie des ensembles
–
E.T. Jaynes (1922-1998)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 6
Règles de calcul • Règle du produit
Théorème de Bayes
• Règle de la somme
Règle de marginalisation
Reverend Thomas Bayes (~1702-1761)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 7
Inférence probabiliste
• Théorème – Si on connaît la distribution conjointe
P(X1 X2 … Xn | π) – Alors on peut calculer n’importe quelle
« question » P(X1 | [Xn = xn] π) P(X2 X4 | [X3 = x3] π)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 8
Preuve
! P(K) ≠ 0
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 9
Principle Incompleteness
Uncertainty
Preliminary Knowledge +
Experimental Data =
Probabilistic Representation
Decision
Bayesian Inference
Bayesian Learning
€
P(a)+ P(¬a) =1P a∧b( ) = P a( )P b | a( ) = P b( )P a | b( )
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 10
Bayesian Program = Description + Question
Inference
Des
crip
tion
Que
stio
n
Pro
gram
• Variables
• Parametrical Forms or Recursive Question
• Decomposition
Preliminary Knowledge π
Experimental Data δ
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 11
Plan • Résumé + questions ! • Exemple détaillé : Water treatment unit
– « Real », complete model of the unit – « Hide » one variable (H) – Build the Bayesian Program
• Learn parameters • Water treatment center (importance of Conditional
Independence Hypotheses) – Use the Bayesian Program
• Questions and inference
• « Vocabulaire » mathématique : distributions usuelles • Taxonomie des classes de modèles probabilistes
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 12
“Real” Water treatment unit model • Input I0, I1
• Output 0 • Efficiency F • Sensor S to help
measure F • Controller C • External factor H
• Integers between 0 and 10
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 13
A water treatment unit (2)
€
I0 = 2[ ]∧ I1 = 8[ ]∧ C = 0[ ]∧ H = 0[ ]
€
Q = Int I0 + I1 +F3
⎛ ⎝ ⎜
⎞ ⎠ ⎟
€
O* = Int I0 + I1 +103
⎛ ⎝ ⎜
⎞ ⎠ ⎟
Ideal quality
Optimal quality (for the best F)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 14
A water treatment unit (3)
€
I0 = 2[ ]∧ I1 = 8[ ]∧ F = 8[ ]∧ H = 0[ ]
€
α = Int I0 + I1 +F +C −H3
⎛ ⎝ ⎜
⎞ ⎠ ⎟
€
O =
α, if 0 ≤α ≤O*( )2O* −α( ), if α >O*( )
0, otherwise
⎧
⎨
⎪ ⎪
⎩
⎪ ⎪
Control C used to compensate H and F
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 15
A water treatment unit (4)
€
I0 = 2[ ]∧ I1 = 8[ ]∧ F = 8[ ]∧ C = 0[ ]
€
α = Int I0 + I1 + F +C −H3
⎛
⎝ ⎜
⎞
⎠ ⎟
€
O =
α, if 0 ≤α ≤O*( )2O* −α( ), if α >O*( )
0, otherwise
⎧
⎨
⎪ ⎪
⎩
⎪ ⎪
Control C used to compensate H and F
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 16
A water treatment unit (5)
€
S = Int I0 +F2
⎛ ⎝ ⎜
⎞ ⎠ ⎟
Sensor S measures influenced by both F and I0
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 17
A water treatment unit
• I0, I1, F, H, C are known – S and O are uniquely determined Deterministic model
• Assume – H is unknown – the equations are unknown Probabilistic model
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 18
Uncertainty on O due to inaccuracy on S (+ discretization)
€
I0 = 2[ ]∧ I1 = 8[ ]∧ C = 2[ ]∧ H = 0[ ]
€
S = Int I0 +F2
⎛ ⎝ ⎜
⎞ ⎠ ⎟
S=1 7 possible combinations for I0, F
S=s, I0=i most of the time, 2 possible values for F
F generated uniformly randomly
F not hidden, but not observable
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 19
Uncertainty due to the hidden variable H
€
I0 = 2[ ]∧ I1 = 8[ ]∧ C = 2[ ]
H generated uniformly randomly
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 20
Not taking into account the effect of hidden variables may
lead to wrong decision (1)
€
I0 = 2[ ]∧ I1 = 8[ ]∧ F = 8[ ]
Use an incomplete, deterministic model
€
α = Int I0 + I1 + F +C3
⎛
⎝ ⎜
⎞
⎠ ⎟
Optimal output O=6 for C=0, 1 or 2
Use a probabilistic model
Optimal output O=6 for C≥2
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 21
Plan • Résumé + questions ! • Exemple détaillé : Water treatment unit
– « Real », complete model of the unit – « Hide » one variable (H) – Build the Bayesian Program
• Learn parameters • Water treatment center (importance of Conditional
Independence Hypotheses) – Use the Bayesian Program
• Questions and inference
• Taxonomie des classes de modèles probabilistes • « Vocabulaire » mathématique : distributions usuelles
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 22
• Variables
• Decomposition
Water treatment unit (Variables)
H is missing
I0, I1, F, S, C,O 2 {0, . . . , 10}
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 23
• Variables
• Decomposition
Water treatment unit (Decomposition)
P (I1 | I0) = P (I0)P (F | I0 ^ I1) = P (F )P (S | I0 ^ I1 ^ F ) = P (S | I0 F )P (C | I0 ^ I1 ^ F ^ S) = P (C)P (O | I0 ^ I1 ^ F ^ S ^ C) = P (O | I0 ^ I1 ^ S ^ C)
Input streams are independent Efficiency independent of inputs
Sensor readings depend on I0, F Control depends on objective output O
Redundancy between S, F, I0 ; F not observable during learning
I0, I1, F, S, C,O 2 {0, . . . , 10}
P (I0 ^ I1 ^ F ^ S ^ C ^O)
= P (I0)⇥ P (I1 | I0)⇥ P (F | I0 ^ I1)⇥ P (S | I0 ^ I1 ^ F )
⇥P (C | I0 ^ I1 ^ F ^ S)⇥ P (O | I0 ^ I1 ^ F ^ S ^ C)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 24
• Variables
• Decomposition
Water treatment unit (Decomposition)
I0, I1, F, S, C,O 2 {0, . . . , 10}
P (I0 ^ I1 ^ F ^ S ^ C ^O)
= P (I0)⇥ P (I1)⇥ P (F )⇥ P (S | I0 ^ F )
⇥P (C)⇥ P (O | I0 ^ I1 ^ S ^ C)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 25
• Variables
• Decomposition
• Parametrical Forms
Water treatment unit (Parametric Forms)
I0, I1, F, S, C,O 2 {0, . . . , 10}
P (I0 ^ I1 ^ F ^ S ^ C ^O)
= P (I0)⇥ P (I1)⇥ P (F )⇥ P (S | I0 ^ F )
⇥P (C)⇥ P (O | I0 ^ I1 ^ S ^ C)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 26
Exercice
• Combien d’histogrammes ?
• Combien de paramètres à apprendre ?
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 27
Exercice
• Combien d’histogrammes ? – Histogrammes sur la variable O – Autant qu’il y a de combinaisons de I0, I1, S et C
114 histogrammes (14 641) • Combien de paramètres à apprendre ?
– Sur une variable à X valeurs, un histogramme a X-1 paramètres (Règle de normalisation)
114 x 10 paramètres à apprendre (146 410)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 28
• Variables
• Decomposition
• Parametrical Forms
Water treatment unit (Identification)
Learning procedure : Simulate, using the « real » model - Draw uniformly values for I0, I1, F, H, C - Compute S, O - Update parameters using I0, I1, S, C and O
I0, I1, F, S, C,O 2 {0, . . . , 10}
P (I0 ^ I1 ^ F ^ S ^ C ^O)
= P (I0)⇥ P (I1)⇥ P (F )⇥ P (S | I0 ^ F )
⇥P (C)⇥ P (O | I0 ^ I1 ^ S ^ C)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 29
Incomplétude, incertitude • Modèle incomplet : H ignoré
• Apprentissage – Traduit l’incomplétude en incertitude – Evaluer l’importance des variables
cachées • Aucune variable cachée : pas d’incertitude • Variable cruciale cachée : uniformes
partout (mauvais modèle)
– Inférence tient compte de l’incertitude
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2010 30
Plan • Résumé + questions ! • Exemple détaillé : Water treatment unit
– « Real », complete model of the unit – « Hide » one variable (H) – Build the Bayesian Program
• Learn parameters • Water treatment center (importance of Conditional
Independence Hypotheses) – Use the Bayesian Program
• Questions and inference
• Taxonomie des classes de modèles probabilistes • « Vocabulaire » mathématique : distributions usuelles
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 31
Water treatment center
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 32
• Variables
Water treatment center (Variables)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 33
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 34
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 35
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 36
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 37
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 38
• Variables
• Decomposition
Water treatment center (Decomposition)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 39
• Variables
• Decomposition
Water treatment center (Forms)
• Parametrical Forms
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 40
• Variables
• Decomposition
Water treatment center (Identification)
• Parametrical Forms
Assume identical units
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 41
Indépendance et indépendance conditionnelle
• Indépendance – P(X Y) = P(X) P(Y) – P(X | Y) = P(X)
• Indépendance conditionnelle – P(X Y | Z) = P(X | Z) P(Y | Z) – P(X | Y Z) = P(X | Z) – P(Y | X Z) = P(Y | Z)
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 42
Independence vs Conditional Independence
Indépendance mais pas indépendance conditionnelle
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 43
Independence vs Conditional Independence
Indépendance conditionnelle mais pas indépendance
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 44
• Nombre de probabilités (≠ nb param) – Avant hypothèses d’indépendance
conditionnelle
– Après hypothèses
The importance of Conditional Independence
(11x11) + (113x4) + (115x4) ≅ 218
218 = 262 144
1119 ≅ 263 ≅ 9.2 x 1018
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 45
• Hypothèses d’indépendance cond. – Réduisent l’espace du modèle – Réduit aussi le temps d’inférence
• Sommation imbriquées • Petits espaces de sommation
– Inférence probabiliste dans le cas général • NP-complète ! (Cooper, 90)
The importance of Conditional Independence
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 46
Plan • Résumé + questions ! • Exemple détaillé : Water treatment unit
– « Real », complete model of the unit – « Hide » one variable (H) – Build the Bayesian Program
• Learn parameters • Water treatment center (importance of Conditional
Independence Hypotheses) – Use the Bayesian Program
• Questions and inference
• Taxonomie des classes de modèles probabilistes • « Vocabulaire » mathématique : distributions usuelles
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 47
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 48
Questions
• Forward simulation of a unit • Forward simulation of the center • Control of the center • Diagnosis
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 49
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 50
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 51
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 52
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 53
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 54
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 55
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 56
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 57
• Forward simulation of a unit
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 58
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 59
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 60
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 61
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 62
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 63
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 64
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 65
• Forward simulation of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 66
• Forward simulation of the center
• Control of the center – Based on forward simulation
• Enumerate all « policies » c0, c1, c2, c3
• Choose the best
– Compute instead
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 67
• Control of the center
Water treatment centre
3
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 68
• Control of the center
– O3=9 C0=6, C1=6, C2=4, C3=9
Water treatment centre
O3=9 seulement 3%
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 69
• Control of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 70
• Control of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 71
• Control of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 72
• Control of the center
Water treatment centre
Maximiser P(O3=9 | …) ou maximiser la valeur de l’espérance sur O3 ?
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 73
• Control of the center
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 74
• Control of the center • Strategies
– Find c0, c1, c2, c3 that maximizes
– Compute – Maximize expectation on O3
Non-systematic choice…
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 75
• Diagnosis
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 76
• Diagnosis
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 77
• Diagnosis
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 78
• Diagnosis
Water treatment centre
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 79
Inférence bayésienne : existence de la solution ?
• Modèle fonctionnel – X = F(Y), mais F-1 pas toujours une
fonction ! • Modèle probabiliste
– P(X Y) – P(X | Y), P(Y | X), etc. toujours des
distributions – Mais : temps d’inférence variable
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 80
Inférence bayésienne : unicité de la solution ?
• Modèle fonctionnel – X = F(Y), F-1 peut-être mal posé (plusieurs
solutions) • Modèle probabiliste
– P(X | Y) peut avoir plusieurs pics – Probabilités relatives des pics Pas de problème mal posé
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 81
Plan
• Résumé + questions ! • Exemple détaillé : Water treatment unit • « Vocabulaire » mathématique :
distributions usuelles • Taxonomie des classes de modèles
probabilistes
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 82
• exemple-distributions-slides.nb
Julien Diard — LPNC-CNRS Cours EDISCE/EDMSTII - M2R Sciences Cognitives, « Cognition bayésienne » — 2012 83
Merci de votre attention !
Questions ?