annotate toolboxes/FullBNT-1.0.7/nethelp3.3/demhmc2.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 <html>
wolffd@0 2 <head>
wolffd@0 3 <title>
wolffd@0 4 Netlab Reference Manual demhmc2
wolffd@0 5 </title>
wolffd@0 6 </head>
wolffd@0 7 <body>
wolffd@0 8 <H1> demhmc2
wolffd@0 9 </H1>
wolffd@0 10 <h2>
wolffd@0 11 Purpose
wolffd@0 12 </h2>
wolffd@0 13 Demonstrate Bayesian regression with Hybrid Monte Carlo sampling.
wolffd@0 14
wolffd@0 15 <p><h2>
wolffd@0 16 Synopsis
wolffd@0 17 </h2>
wolffd@0 18 <PRE>
wolffd@0 19 demhmc2</PRE>
wolffd@0 20
wolffd@0 21
wolffd@0 22 <p><h2>
wolffd@0 23 Description
wolffd@0 24 </h2>
wolffd@0 25 The problem consists of one input variable <CODE>x</CODE> and one target variable
wolffd@0 26 <CODE>t</CODE> with data generated by sampling <CODE>x</CODE> at equal intervals and then
wolffd@0 27 generating target data by computing <CODE>sin(2*pi*x)</CODE> and adding Gaussian
wolffd@0 28 noise. The model is a 2-layer network with linear outputs, and the hybrid Monte
wolffd@0 29 Carlo algorithm (without persistence) is used to sample from the posterior
wolffd@0 30 distribution of the weights. The graph shows the underlying function,
wolffd@0 31 100 samples from the function given by the posterior distribution of the
wolffd@0 32 weights, and the average prediction (weighted by the posterior probabilities).
wolffd@0 33
wolffd@0 34 <p><h2>
wolffd@0 35 See Also
wolffd@0 36 </h2>
wolffd@0 37 <CODE><a href="demhmc3.htm">demhmc3</a></CODE>, <CODE><a href="hmc.htm">hmc</a></CODE>, <CODE><a href="mlp.htm">mlp</a></CODE>, <CODE><a href="mlperr.htm">mlperr</a></CODE>, <CODE><a href="mlpgrad.htm">mlpgrad</a></CODE><hr>
wolffd@0 38 <b>Pages:</b>
wolffd@0 39 <a href="index.htm">Index</a>
wolffd@0 40 <hr>
wolffd@0 41 <p>Copyright (c) Ian T Nabney (1996-9)
wolffd@0 42
wolffd@0 43
wolffd@0 44 </body>
wolffd@0 45 </html>