public class R_D.Forest.M extends R_D.M implements HasPdf
R_D.Forest
-model. Each column
may have at most one parent
column.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 |
---|---|
Linear1.M[] |
Lin1
There is one Linear1 model n Lin1[] per
parent -ed column, in order. |
NormalUPM.M[] |
Nrml
There is one Normal model in Nrml[] per
parent -less column, in order. |
Modifier and Type | Method and Description |
---|---|
double |
nlLH(Value ss)
Negative log likelihood for data-set ds where
ss=
stats(ds) . |
double |
nlPdf(Value v)
Negative log probability density of a
D -element datum v. |
void |
random(double[] xs)
TODO random(xs) not yet tested???
|
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
AoM, apply, bOp, compareTo, cons, cts, elt, errMsg, error, force, isTuple, just, main, n, nElts, nlAoM, pair, print, quad, real, RTE, triple, tuple, UOE, uOp, x
public final NormalUPM.M[] Nrml
public final Linear1.M[] Lin1
public M(double msg1, double msg2, Value sp)