Bayesian Machine Learning
Bayesian Decision Theory
2
Linear Classification
3
Binary Classification with Gaussian
4
Optimal Boundary for Classes
5
Minimum Error Rate Classification
6
Posterior Probabilities
7
Boundaries for Gaussian
8
Equal Covariance
9
Not Equal Covariance
10
Examples of Gaussian Decision Regions
11
Python Implementation in 1D
12
Bayesian Classifier for Four Scenarios
13
Case 1: Equal Variance and Equal Prior
14
The optimal decision boundary lies at the midpoint between the two means
Case 2: Equal Variance and Not Equal Prior
15
It shifts toward the less probable class (class 0), because we require more evidence to classify a sample as belonging to the less likely class
Case 1: Equal Variance and Equal Prior
16
Case 3: Not Equal Variance and Equal Prior
17
The classification boundary becomes quadratic in this case. In one dimension, this implies that the decision rule involves two thresholds
Back to Logistic Regression
18
Probability Density Estimation
19
Probability Density Estimation
20
Kernel Density Estimation
21
Kernel Density Estimation
22
Bayesian Density Estimation
23
Hidden State
24
…
Likelihood
25
Posterior
26
Combining Multiple Evidences
27
…
Recursive Bayesian Estimation
28
Recursive Bayesian Estimation
29
Recursive Bayesian Estimation
30
Recursive Bayesian Estimation
31
(1) Prior
(2) Prior + data = posterior
(4) Prior + data = new posterior
(3) Posterior becomes new prior
(5) Posterior becomes new prior, ···
Example 1: Bernoulli Model
32
…
Bernoulli Model
33
Recursive Bayesian Estimation
34
Recursive Bayesian Estimation
35
Example 2: Gaussian Model
36
…
Posterior Probability
37
Recursive Bayesian Estimation
38
Recursive Bayesian Estimation
39
Summary
40
Object Tracking in Computer Vision