[mlpack-svn] r10782 - mlpack/trunk/src/mlpack/methods/gmm

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Dec 14 08:35:52 EST 2011


Author: rcurtin
Date: 2011-12-14 08:35:52 -0500 (Wed, 14 Dec 2011)
New Revision: 10782

Modified:
   mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp
Log:
Expand the example for the GMM.  This documentation should be done.


Modified: mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp	2011-12-14 13:33:02 UTC (rev 10781)
+++ mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp	2011-12-14 13:35:52 UTC (rev 10782)
@@ -34,6 +34,9 @@
  *
  * // Get the probability of 'observation' being observed from this GMM.
  * double probability = g.Probability(observation);
+ *
+ * // Get a random observation from the GMM.
+ * arma::vec observation = g.Random();
  * @endcode
  */
 class GMM {




More information about the mlpack-svn mailing list