# mdnerr

## Purpose

Evaluate error function for Mixture Density Network.

## Synopsis

    e = mdnerr(net, x, t)

## Description

`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.

## See Also

`mdn`, `mdnfwd`, `mdngrad`

Pages: Index

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

David J Evans (1998)