# mdn2gmm

## Purpose

Converts an MDN mixture data structure to array of GMMs.

## Synopsis

    gmmmixes = mdn2gmm(mdnmixes)

## Description

`gmmmixes = mdn2gmm(mdnmixes)` takes an MDN mixture data structure `mdnmixes` containing three matrices (for priors, centres and variances) where each row represents the corresponding parameter values for a different mixture model and creates an array of GMMs. These can then be used with the standard Netlab Gaussian mixture model functions.

## Example

    mdnmixes = mdnfwd(net, x);
    mixes = mdn2gmm(mdnmixes);
    p = gmmprob(mixes(1), y);

This creates an array GMM mixture models (one for each data point in `x`). The vector `p` is then filled with the conditional probabilities of the values `y` given `x(1,:)`.

## See Also

`gmm`, `mdn`, `mdnfwd`

Pages: Index

Copyright (c) Ian T Nabney (1996-9)

David J Evans (1998)