scikit-learn/scikit-learn — pull request #521 by lucidfrontier45 (2012-01-02 10:56:47+00:00)
Title: improved  the speed of training dpgmm

I improved the speed of training dpgmm by calling fast scipy built-in function and replacing unnecessary double loop.
The original code needs over 10 sec to train 5,000 points in 2D with 5 states while the modified one only needs about 1 sec.