What parameters are updated during the M-step of fitting a Gaussian mixture model?

Last updated 11 November 2026

  • The M-step updates each component's mixing weight πₖ, mean μₖ and covariance Σₖ with closed-form estimates weighted by the responsibilities γᵢₖ.

  • With Nₖ = Σᵢ γᵢₖ: πₖ = Nₖ/n, μₖ is the responsibility-weighted mean, and Σₖ is the weighted covariance around the new μₖ.

  • Covariance types (diag, tied, spherical) constrain Σ, and reg_covar prevents singularity. Each iteration never decreases the likelihood.

  • https://medium.com/@VectorWorksAcademy/mastering-gaussian-mixture-models-concepts-applications-and-interview-preparation-a7c0aebfbcc3
  • https://www.geeksforgeeks.org/machine-learning/gaussian-mixture-model/
  • https://medium.com/data-science-collective/the-em-algorithm-and-gaussian-mixture-models-for-advanced-data-clustering-948756fe76c9
All Clustering interview questions