Model.Defaults, Model.Transform
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
Constructor and Description |
---|
KnownClass(double msg1,
double msg2,
Value sp) |
Modifier and Type | Method and Description |
---|---|
double |
nlLH(Value ss)
For every data-set, ds,
|
double |
nlPr(Value d)
For all data, d, pr(d)=1, nlPr(d)=0.
|
Value.Triv |
stats(boolean add,
Value ss0,
Value ss1)
Combine
statisticses ,
ss0 ± ss1. |
Value.Triv |
stats(Vector ds,
int lo,
int hi)
Return
|
asEstimator, asGiven, asGiven, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, random, randomSeries, statParams, stats, stats, sumNlPr, toString, transform, type, zeroTriv
public KnownClass(double msg1, double msg2, Value sp)
public double nlPr(Value d)
public double nlLH(Value ss)
public Value.Triv stats(Vector ds, int lo, int hi)
public Value.Triv stats(boolean add, Value ss0, Value ss1)
Model
statisticses
,
ss0 ± ss1.
'+' if 'add' is true, else '−'.
An option is to return the data itself, as in Model.Defaults
,
but many Models can do better. Also see
stats(add,ss0,ds,lo,hi)
.