

.. _example_mixture_plot_gmm_pdf.py:


=============================================
Density Estimation for a mixture of Gaussians
=============================================

Plot the density estimation of a mixture of two Gaussians. Data is
generated from two Gaussians with different centers and covariance
matrices.


**Python source code:** :download:`plot_gmm_pdf.py <plot_gmm_pdf.py>`

.. literalinclude:: plot_gmm_pdf.py
    :lines: 10-
    