How to write GMM (Gaussian mixture model) in Java?

How can I write GMM (Gaussian mixture model) in Java. There are some implementations in Matlab, but I'm looking for some documentation on this and sample Java code.

PS: If possible, how can I apply the Weka implementation to my code?

PS2: I found that: http://www.lix.polytechnique.fr/~nielsen/MEF/ Where is the GMM source code inside it, so can I accept it in my code?

PS3: Another code found: http://www.dii.unisi.it/~freno/JProGraM.html there is still a problem to accept it. I have to provide a list of my input and get a list of all classified elements from the algorithm.

+3
source share
3 answers

Weka is a Java data mining software that GMM can run, it also has a nice graphical interface where you can do preliminary modeling before doing everything in Java.

+4
source

I am the author of jMEF :) jMEF will allow you to create, process and manage mixtures of exponential families, including, of course, GMM. You basically have to create a mixed model based on the Gaussian distribution. I wrote a bunch of tutorials to figure out how to use them correctly. This is pretty straight forward. It’s good that you can evaluate your mixture from samples using the EM algorithm.

+3
source

You can use "MATLAB Builder JA" to get the ".JAR" file and source code from your "Matlab implementations", for example, you can include the result in your JAVA application.

0
source

All Articles