Hi Charles,

AFAIK it is not possible to fit a GMM on a histogram. I would probably sample from the GMM.
    Best,

Bertrand



On 25/10/2013 00:23, Charles Greenberg wrote:
I have a discrete 3D density function, essentially a 3D histogram, and I'd like to fit a GMM to it. From the documentation it appears that sklearn.mixture.GMM wants raw data points - is it possible to give it the histogram instead? Alternatively, it would work if I could use weighted data points. Is this possible? Currently I'm able to sample points from the histogram, but this is costly (and shouldn't be necessary).

Thanks,
Charles


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk


_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to