# errbayes

## Purpose

Evaluate Bayesian error function for network.

## Synopsis

    e = errbayes(net, edata)
    [e, edata, eprior] = errbayes(net, edata)

## Description

`e = errbayes(net, edata)` takes a network data structure `net` together the data contribution to the error for a set of inputs and targets. It returns the regularised error using any zero mean Gaussian priors on the weights defined in `net`.

`[e, edata, eprior] = errbayes(net, x, t)` additionally returns the data and prior components of the error.

## See Also

`glmerr`, `mlperr`, `rbferr`

Pages: Index

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