Popular recipes by Gabriel Synnaeve http://code.activestate.com/recipes/users/4178198/2011-06-04T11:02:18-07:00ActiveState Code RecipesExpectation-Maximization (Python)
2011-06-04T11:02:18-07:00Gabriel Synnaevehttp://code.activestate.com/recipes/users/4178198/http://code.activestate.com/recipes/577735-expectation-maximization/
<p style="color: grey">
Python
recipe 577735
by <a href="/recipes/users/4178198/">Gabriel Synnaeve</a>
(<a href="/recipes/tags/data_mining/">data_mining</a>, <a href="/recipes/tags/machine_learning/">machine_learning</a>).
Revision 3.
</p>
<p>Quick and simple implementation of Gaussian mixture model (with same covariance shapes) based expectation-maximization algorithm.</p>
K-means (Python)
2011-06-04T10:58:09-07:00Gabriel Synnaevehttp://code.activestate.com/recipes/users/4178198/http://code.activestate.com/recipes/577734-k-means/
<p style="color: grey">
Python
recipe 577734
by <a href="/recipes/users/4178198/">Gabriel Synnaeve</a>
(<a href="/recipes/tags/data_mining/">data_mining</a>, <a href="/recipes/tags/machine_learning/">machine_learning</a>).
Revision 2.
</p>
<p>Hard and soft k-means implemented simply in python (with numpy). Quick and dirty, tested and works on large (10k+ observations, 2-10 features) real-world data.</p>