R_D.M.Transform
Model.Defaults
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
Vector |
alpha
M's statistical parameter;
D . |
double |
logB
The (log(B)) normalising constant.
|
Constructor and Description |
---|
M(double msg1,
double msg2,
Value alpha)
|
Modifier and Type | Method and Description |
---|---|
double |
nlLH(Value ss)
Assumes that
statistics
are the data-set itself. |
double |
nlPdf(Value d)
|
Vector |
random()
Generate a Dirichlet-distributed random variate, a Vector of
D elements. |
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public M(double msg1, double msg2, Value alpha)
public double nlPdf(Value d)
public double nlLH(Value ss)
statistics
are the data-set itself.