Professional Documents
Culture Documents
Univariate and Multivariate Density
Univariate and Multivariate Density
Machine Learning
UNIT 1
Bayesian Decision Theory and Normal
Distribution
Staff Incharge
Dr. M. Kalaiselvi Geetha
Professor
Department of CSE
Univariate and Multivariate
Normal Densities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Reason:
Spread of data in a from the mean is more
Dr. M. Kalaiselvi Geetha, Professor, Dept. 8
of CSE, AU 8
Standard Deviation – Example 2
c = [15, 15, 15, 15, 15] SD=0
Reason:
• Spread is alike
. .
12
2
. 3.n
1n
31 32 33 3 n
.
2 21 22 2n
.
.
.. .. ... .. . . .. .
31 32 33 3n
.
.
n1
.
.
n1 nn22
. .
n
. n1
.
n2
n
nn
nn
nn
Mean ( μ) :
It is the average of the given feature x and it is
μ
given by x
n
Variance ( σ)2
x
µ-2σ µ-σ µ µ+σ µ+2σ
Fig. 1 : Univariate normal distribution
Example for univariate density :
Height (h) of 165 170 160 154 175 155 167 177 158 178
males (adult)
h μ 2 1
Variance σ 2 165 165 9 2 178 165 9 2 72 89
n 10
threshold (T ) = 0.00005
2
1 1
100
165
9
P
100
exp
5.485
-
015
0
2
3
14
8
54
2
8
54
Height (h) of 165 170 160 154 175 155 167 177 158 178
males
Weight (w) of 78 71 60 53 72 51 64 65 55 69
males
1
σ 12 165 165 9 78 638 170 165 9 71 638 178 165 9 69 638
10
5278
1
σ 21 78 638 165 165 9 71 638 170 165 9 69 638 178 165 9
10
5278
1
σ 22 78 638 2 71 638 2 69 638 2
10
7216
P(75,25) = 1.26e-29 = 0
Result: Height and weight are not in the bivariate normal
distribution, so the person is not an adult. ( P(75,25) < T )