<html>
<head>
  <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1">
  <title>bayeserr.m</title>
<link rel="stylesheet" type="text/css" href="../../m-syntax.css">
</head>
<body>
<code>
<span class=defun_kw>function</span>&nbsp;<span class=defun_out>[risk,eps1,eps2,inter1]</span>=<span class=defun_name>bayeserr</span>(<span class=defun_in>model</span>)
<br>
<span class=h1>%&nbsp;BAYESERR&nbsp;Bayesian&nbsp;risk&nbsp;for&nbsp;1D&nbsp;Gaussians&nbsp;and&nbsp;0/1-loss.
</span><br>
<span class