e = mdnerr(net, x, t)
e = mdnerr(net, x, t) takes a mixture density network data
structure net, a matrix x of input vectors and a matrix
t of target vectors, and evaluates the error function
e. The error function is the negative log likelihood of the
target data under the conditional density given by the mixture model
parameterised by the MLP. Each row of x corresponds to one
input vector and each row of t corresponds to one target vector.
mdn, mdnfwd, mdngradCopyright (c) Ian T Nabney (1996-9)
David J Evans (1998)