From 8070dc963753142bb86c4ed698d91fd623ed28e7 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 28 Sep 2017 15:04:40 -0500 Subject: BNW using Octave instead of Matlab. This version of BNW should perform the same as the original version. The only difference is that it uses Octave instead of Matlab when running BayesNet Toolbox during parameter learning. I am calling this BNW_1.02. It can be accessed at: compbio.uthsc.edu/BNW_1.02 --- sourcecodes/bnt-master/nethelp3.3/gmm.htm | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 sourcecodes/bnt-master/nethelp3.3/gmm.htm (limited to 'sourcecodes/bnt-master/nethelp3.3/gmm.htm') diff --git a/sourcecodes/bnt-master/nethelp3.3/gmm.htm b/sourcecodes/bnt-master/nethelp3.3/gmm.htm new file mode 100644 index 00000000..c815b3cb --- /dev/null +++ b/sourcecodes/bnt-master/nethelp3.3/gmm.htm @@ -0,0 +1,96 @@ + +
++mix = gmm(dim, ncentres, covartype) +mix = gmm(dim, ncentres, covartype, ppca_dim) ++ + +
mix = gmm(dim, ncentres, covartype) takes
+the dimension of the space dim, the number of centres in the
+mixture model and the type of the mixture model, and returns a data
+structure mix.
+The mixture model type defines the covariance structure of each component
+Gaussian:
++ + 'spherical' = single variance parameter for each component: stored as a vector + 'diag' = diagonal matrix for each component: stored as rows of a matrix + 'full' = full matrix for each component: stored as 3d array + 'ppca' = probabilistic PCA: stored as principal components (in a 3d array + and associated variances and off-subspace noise ++ +
mix = gmm(dim, ncentres, covartype, ppca_dim) also sets the dimension of
+the PPCA sub-spaces: the default value is one.
+
+The priors are initialised to equal values summing to one, and the covariances
+are all the identity matrix (or equivalent). The centres are
+initialised randomly from a zero mean unit variance Gaussian. This makes use
+of the MATLAB function randn and so the seed for the random weight
+initialisation can be set using randn('state', s) where s is the
+state value.
+
+
The fields in mix are
+
+ + type = 'gmm' + nin = the dimension of the space + ncentres = number of mixture components + covartype = string for type of variance model + priors = mixing coefficients + centres = means of Gaussians: stored as rows of a matrix + covars = covariances of Gaussians ++ +The additional fields for mixtures of PPCA are +
+ + U = principal component subspaces + lambda = in-space covariances: stored as rows of a matrix ++ +The off-subspace noise is stored in
covars.
+
++ +mix = gmm(2, 4, 'spherical'); ++ +This creates a Gaussian mixture model with 4 components in 2 dimensions. +The covariance structure is a spherical model. + +
gmmpak, gmmunpak, gmmsamp, gmminit, gmmem, gmmactiv, gmmpost, gmmprobCopyright (c) Ian T Nabney (1996-9) + + + + \ No newline at end of file -- cgit 1.4.1