Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > e578866d55cd81fdb23827cdf3cec911 > files > 539

python-scikits-learn-0.6-1mdv2010.2.i586.rpm



.. _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.


.. image:: images/plot_gmm_pdf.png
    :align: center

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

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