SlideServe
Menu
Préférences
© SlideServe · v2026

Probabilistic Models for Data Analysis

tholt avatar
96 diapositives · 1.1K Views · Jan 05, 2020

Explore the fundamental concepts of probability distributions and density estimation in Chapter 2 of Pattern Recognition and Machine Learning. Learn about parametric distributions such as Gaussian and Bernoulli, and non-parametric distributions like histograms and kernels. Understand the concept of conjugate priors and their role in Bayesian inference, as well as how to apply parametric distributions to model binary and multinomial variables. Dive into the Gaussian distribution, the central limit theorem, and Bayesian inference for Gaussian variables. Gain insights into parameter estimation methods and sequential estimation algorithms. Enhance your understanding of probabilistic models for analyzing and predicting data effectively.

Probabilistic Models for Data Analysis - slide 1
01 / 96Probabilistic Models for Data Analysis
1 / 17

Télécharger la présentation

Probabilistic Models for Data Analysis
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Pattern Recognition and Machine Learning Chapter 2: Probability distributions

  2. General • Density estimation: Model probability distribution of a R.V. given a finite set of observations. • Parametric distributions: Gaussian, Bernoulli, Multinomial, Exponential family. • Conjugate Prior: lead to Posterior with same functional form as the prior . • Non-parametric distributions: histograms, nearest-neighbors, kernels.

  3. Parametric Distributions Basic building blocks: Need to determine given Representation: or ? Recall Curve Fitting

  4. Binary Variables (1) Coin flipping: heads=1, tails=0 Bernoulli Distribution

  5. Binary Variables (2) N coin flips: Binomial Distribution

  6. Binomial Distribution

  7. Parameter Estimation (1) ML for Bernoulli Given:

  8. Parameter Estimation (2) Example: Prediction: all future tosses will land heads up Overfitting to D A solution: introduce a prior distribution over μ

  9. Beta Distribution Distribution over .

  10. Bayesian Bernoulli The Beta distribution provides the conjugate prior for the Bernoulli distribution.

  11. Beta Distribution

  12. Prior ∙ Likelihood = Posterior

  13. Properties of the Posterior As the size of the data set, N , increase

  14. Prediction under the Posterior What is the probability that the next coin toss will land heads up?

  15. Multinomial Variables 1-of-K coding scheme:

  16. ML Parameter estimation Given: Ensure , use a Lagrange multiplier, ¸.

  17. The Multinomial Distribution

  18. The Dirichlet Distribution Conjugate prior for the multinomial distribution.

  19. Bayesian Multinomial (1)

  20. Bayesian Multinomial (2): Plots of Dirichlet distributions (three variables)

  21. The Gaussian Distribution

  22. Central Limit Theorem(Laplace) The distribution of the sum of N i.i.d. random variables becomes increasingly Gaussian as N grows. Example: N uniform [0,1] random variables.

  23. Geometry of the Multivariate Gaussian

  24. Moments of the Multivariate Gaussian (1) thanks to anti-symmetry of z

  25. Moments of the Multivariate Gaussian (2) Vanishes by symmetry unless i=j

  26. Moments of the Multivariate Gaussian (3)

  27. Partitioned Gaussian Distributions Precision Matrix

  28. Schur Complement and Partitioning of Covariance Matrix

  29. Exponent of General Gaussian & Partioning Completing the Square

  30. Partitioned Conditionals (1) Quadratic term Linear term

  31. Partitioned Conditionals (2)

  32. Marginalize Multivariate Gaussian Distributions (1) • Consider terms involving x • Complete the square to facilitate integration

  33. Marginalize Multivariate Gaussian Distributions (2) Integrate Quadratic term (RHS-first) = const. Combine RHS-second term with previous terms involving x

  34. Marginalize Multivariate Gaussian Distributions (3)

  35. Partitioned Conditionals and Marginals

  36. Partitioned Conditionals and Marginals

  37. Bayes’ Theorem for Gaussian Variables Given we have where

  38. Maximum Likelihood for the Gaussian (1) Given i.i.d. data , the log likeli-hood function is given by Sufficient statistics

  39. Maximum Likelihood for the Gaussian (2) Set the derivative of the log likelihood function to zero, and solve to obtain Similarly

  40. Maximum Likelihood for the Gaussian (3) Under the true distribution Hence define

  41. Sequential Estimation Contribution of the Nth data point, xN correction given xN correction weight old estimate

  42. The Robbins-Monro Algorithm (1) Consider µ and z governed by p(z,µ) and define the regression function Seek µ? such that f(µ?) = 0.

  43. The Robbins-Monro Algorithm (2) Assume we are given samples from p(z,µ), one at the time.

  44. The Robbins-Monro Algorithm (3) Successive estimates of µ? are then given by Conditions on aN for convergence :

  45. Robbins-Monro for Maximum Likelihood (1) Regarding as a regression function, finding its root is equivalent to finding the maximum likelihood solution µML. Thus

  46. Robbins-Monro for Maximum Likelihood (2) Example: estimate the mean of a Gaussian. The distribution of z is Gaussian with mean ¹ { ¹ML. For the Robbins-Monro update equation, aN = ¾2=N.

  47. Bayesian Inference for the Gaussian (1) Assume ¾2 is known. Given i.i.d. data , the likelihood function for¹ is given by This has a Gaussian shape as a function of ¹ (but it is not a distribution over ¹).

  48. Bayesian Inference for the Gaussian (2) Combined with a Gaussian prior over ¹, this gives the posterior Completing the square over ¹, we see that

  49. Bayesian Inference for the Gaussian (3) … where Note:

  50. Bayesian Inference for the Gaussian (4) Example: for N = 0, 1, 2 and 10.