public abstract class UPFunctionModel.M extends FunctionModel
UnParameterised
Function Model.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
Modifier and Type | Method and Description |
---|---|
FunctionModel |
asGiven(double msg2)
Calls
asGiven(0,msg2) . |
FunctionModel |
asGiven(double msg1,
double msg2)
Enables setting the first- and second-part message lengths, msg1
and msg2, after having estimated the statistical parameter(s),
say.
|
Value |
stats(boolean add,
Value ss0,
Value ss1)
Use the enclosing UPFunctionModel's
stats(add,ss0,ss1)
to combine statisticses ss0 and ss1. |
Value |
stats(Vector ds,
int lo,
int hi)
Return sufficient statistics, ss = stats(ds,lo,hi),
of elements [lo,hi) of a data-set ds as per the enclosing
UPFunctionModel's
stats(ds,lo,hi) . |
java.lang.String |
toString()
Return a String representation of 'this' FunctionModel.
|
asUPModel, condModel, condNl2Pr, condNlPr, condPr, nlPr, pr, random, random
asEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, nlLH, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public M(double msg1, double msg2, Value sp)
public Value stats(Vector ds, int lo, int hi)
stats(ds,lo,hi)
.
More on stats here
.public Value stats(boolean add, Value ss0, Value ss1)
stats(add,ss0,ss1)
to combine statisticses ss0 and ss1.public FunctionModel asGiven(double msg2)
asGiven(0,msg2)
.asGiven
in class FunctionModel
public FunctionModel asGiven(double msg1, double msg2)
asGiven(msg2)
.asGiven
in class FunctionModel