码迷,mamicode.com
首页 > 其他好文 > 详细

机器人学 —— 估计和学习-第一周

时间:2018-12-31 17:27:47      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:script   红色   answer   tran   via   another   square   pts   sig   

 

1.1 Introduction

1.2 Single Dimensional Gaussian

1.2.1 1D Gaussian Distribution

技术分享图片

 

yellow ball example: 使用高斯模型来描述HSV空间的H通道中,某个像素是否属于黄色球的概率。

技术分享图片

Advantage:only use two parameters instead of all pixels in the image

Question: How to estimate two parameters in gaussian model?

 

1.2.2 Maximum Likelihood Estimate of Gaussian Model Parameters

Answer:  How to estimate two parameters in gaussian model?

The derivation process of the MLE for univariate gaussian in supplementary

技术分享图片

 

1.3 Multivariate Gaussian

1.3.1 Multivariate Gaussian Distribution

red ball example: 使用多变量高斯模型描述RGB空间中,某个像素是否属于红色球的概率。

技术分享图片

 

Multivariate Gaussian

技术分享图片 

sigma is a square matrix;

|sigma| : determinant of sigma

 

技术分享图片

The correlation component represents how much one variable is related to another one.

技术分享图片

 

技术分享图片

1) Positive Definite: all eigenvalues of sigma must be positive;

2) We can always find the coordinate transformation which makes the shape appear symmetric even when the covariance matrix has none zero correlation terms.

 

How to model the red ball example?

技术分享图片

Q: How to estimate parameters of the multivariate gaussian model?

 

 1.3.2 MLE of Multivariate Gaussian

Answer: How to estimate parameters of the multivariate gaussian model.

The derivation process of the MLE for multivariate gaussian in supplementary

 技术分享图片

 

 come back to the color ball example:

技术分享图片

From the contours in the plot, we can check that the red and blue channel are correlated negatively in the model.

 

1.4 Mixture of Gaussian

1.4.1 Gaussian Mixture Model(GMM)

Limitations of Single Gaussian

技术分享图片

 

Description, black line is the GMM.

技术分享图片

 

red ball example

Try to use 2D gaussian model to represent values in R and G channels.

技术分享图片

 

Try to use GMM to represent values in R and G channels

技术分享图片

 

Mathematics model

技术分享图片

The sum of wk is 1, which ensure the integral of GMM is 1.

 

技术分享图片

Three disadvantages:

1) more parameters;

2) No analytic solution

3) overfitting

 

1.4.2 GMM Parameter Estimation via EM

技术分享图片 

w = 1/k, to simplify the deduction process.

 

Let‘s begin to find the maximum likelihood estimate of GMM parameters 

技术分享图片

more detail about deduction plz refer to supplementary

技术分享图片

 

EM for GMM

技术分享图片    技术分享图片

技术分享图片    技术分享图片

 

1.4.3 Expectation-Maxization(EM)

EM as lower-bound maximization

技术分享图片

introduce 3 concepts:

(1) Jensen‘s inequality(详见课程ppt)

如ppt中所定义,ln对数函数是凹函数,积分的函数值大于函数的积分值。

 技术分享图片

(2) Latent variable and marginal probability

引入潜在变量Z。Z的来源参见GMM。

技术分享图片

技术分享图片

找出Z的分布q,从而确定极大似然估计的lower bound。

 

(3) procedure : E-step and M-step(详见课程ppt)

 技术分享图片

 

技术分享图片

 

技术分享图片

 

技术分享图片

 

技术分享图片

 

机器人学 —— 估计和学习-第一周

标签:script   红色   answer   tran   via   another   square   pts   sig   

原文地址:https://www.cnblogs.com/gdut-gordon/p/10065662.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!