Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error string
An error message
const ( ErrNotNormalized Error = "The distribution was not normalized properly" ErrZeroProb Error = "The distribution has zero total probability" ErrGraphNotTree Error = "The factor graph is not a tree" ErrDiscreteOnly Error = "This process currently only supports discrete random variables" ErrContinuousOnly Error = "This process currently only supports continuous random variables" ErrBernoulliOnly Error = "This process only supports Bernoulli random variables" )
func ErrfFactorVarNum ¶
func ErrfInvalidProb ¶
func ErrfNotInDomain ¶
func ErrfUnsupportedDist ¶
func ErrfUnsupportedDist(dist interface{}) Error
func ErrfValNotInDomain ¶
func ErrfValNotInDomain(value interface{}) Error
Directories ¶
Path | Synopsis |
---|---|
app
|
|
bsc
* Implements variations on a binary symmetric channel (BSC) with constant noise * rate p, which takes a "true" boolean value X as input and outputs X with * probability (1-p) and outputs !X with probability p.
|
* Implements variations on a binary symmetric channel (BSC) with constant noise * rate p, which takes a "true" boolean value X as input and outputs X with * probability (1-p) and outputs !X with probability p. |
infer
|
|
Click to show internal directories.
Click to hide internal directories.