You can just set `means_` and `covars_` attributes before fitting. But GMM
will also run the KMeans hotstarting for you if you like. e.g. if you don't
have a `means_` attribute and have and `m` in `init_params`, it runs kmeans
before fitting as shown on this line of the source code:
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/mixture/gmm.py#L436
-Robert
On Mon, Mar 24, 2014 at 4:39 AM, Yogesh Karpate <[email protected]>wrote:
> Hi ,
> I want to use GMM from sklearn for my application. Since
> Gmm is sensitive to initial parameters, I derive initial
> parameters from running K means on the data and
> subsequently feed them to GMM.
>
> How can I feed these parameters in GMM class of sklearn?
> *params* ,
> *init_params??*
>
> --
> Warm Regards
> Yogesh Karpate
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general