Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bayesian Decision Theory Introduction to Machine Learning (Chap 3), E. Alpaydin.

Similar presentations


Presentation on theme: "Bayesian Decision Theory Introduction to Machine Learning (Chap 3), E. Alpaydin."— Presentation transcript:

1 Bayesian Decision Theory Introduction to Machine Learning (Chap 3), E. Alpaydin

2 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2 Relevant Research Expert System (Rule Based Inference) Bayesian Network Fuzzy Theorem Probability (statistics) Uncertainty (cybernetics) Machine Learning Fuzzy, NN, GA, etc. Diagnosis (Decision Making) Advice (Recommendations) Automatic Control Pattern Recognition Data Mining, etc. Problem Solving Predicate Logic Reasoning/ ProofSearch Methods 評判搜尋解答邏輯推理記憶控制學習創作 weaksub?strong Fuzzy,NN,GA In my opinion: Recall:

3 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 3 Bayes’ Rule (for pattern recognition) posterior likelihoodprior evidence

4 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 4 Bayes’ Rule: K>2 Classes

5 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 5 Bayesian Networks Aka (also known as) probabilistic networks Nodes are hypotheses (random vars) and the prob corresponds to our belief in the truth of the hypothesis Arcs are direct direct influences between hypotheses The structure is represented as a directed acyclic graph (DAG) The parameters are the conditional probs in the arcs (Pearl, 1988, 2000; Jensen, 1996; Lauritzen, 1996)

6 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 6 Causes and Bayes’ Rule Diagnostic inference: Knowing that the grass is wet, what is the probability that rain is the cause? causal diagnostic

7 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 7 Causal vs Diagnostic Inference Causal inference: If the sprinkler is on, what is the probability that the grass is wet? P(W|S) = P(W|R,S) P(R|S) + P(W|~R,S) P(~R|S) = P(W|R,S) P(R) + P(W|~R,S) P(~R) = 0.95 0.4 + 0.9 0.6 = 0.92 Diagnostic inference: If the grass is wet, what is the prob. that the sprinkler is on? 引入一個結果 P(S|W) =P(S,W)/P(W)=P(W|S)P(S)/P(W) =0.35 > 0.2= P(S) 引入一個競爭 P(S|R,W) = 0.21 Explaining away: Knowing that it has rained decreases the prob. that the sprinkler is on.

8 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 8 Bayesian Networks: Causes Causal inference: P(W|C) = P(W|R,S) P(R,S|C) + P(W|~R,S) P(~R,S|C) + P(W|R,~S) P(R,~S|C) + P(W|~R,~S) P(~R,~S|C) and use the fact that P(R,S|C) = P(R|C) P(S|C) Diagnostic: P(C|W ) = ?

9 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 9 Bayesian Networks: Causes Bayesian Network 定義 (1) 是 acyclic (feed-forwards) network; (2) 所有 Roots 都獨自標示出現機率 ; (3) 對於每個節點事件,要完整標示其 源自所有 parents 組合的條件機率 ; (4) 無 path ( 注意 : 非 direct link) 相連的 事件之間,視為 independent. Bayesian Network 推導

10 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 10 Bayesian Nets: Local structure P (F | C) = ? P (S, ~F | W, R) = ?

11 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 11 Bayesian Networks: Inference P (F|C) = P (C,F) / P(C) P (C,F) = ∑ S ∑ R ∑ W P (C,S,R,W,F) 其中 P (C,S,R,W,F) = P (C) P (S|C) P (R|C) P (W|R,S) P (F|R) Belief propagation (Pearl, 1988) Junction trees (Lauritzen and Spiegelhalter, 1988)

12 Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 12 Association Rules (for your reference) Association rule: X  Y Support (X  Y): Confidence (X  Y): Apriori algorithm (Agrawal et al., 1996)


Download ppt "Bayesian Decision Theory Introduction to Machine Learning (Chap 3), E. Alpaydin."

Similar presentations


Ads by Google