public abstract class Sequences.M extends UPModel.M
Sequences
is the UnParameterised 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 | Field and Description |
---|---|
protected Discretes.M |
lengthMdl
The parameterised Model of the lengths of Sequences.
|
Constructor and Description |
---|
M(double msg1,
double msg2,
Value sp)
Two part message lengths, msg1 and msg2,
and statistical parameter(s) sp.
|
Modifier and Type | Method and Description |
---|---|
Value |
lengthStats(Vector ds,
int lo,
int hi)
Get
lengthMdl 's statistics on lengths out of
'ds[lo,hi)'. |
abstract double |
nlPr(Value d)
Return the negative log probability of
Sequence (Vector) datum 'd'.
|
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, nlLH, pr, random, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
protected Discretes.M lengthMdl
Sequences.lengthUPM
.public M(double msg1, double msg2, Value sp)
public Value lengthStats(Vector ds, int lo, int hi)
lengthMdl
's statistics on lengths out of
'ds[lo,hi)'. These may or may not be the same as
Sequences.lengthStats(Vector,int,int)
, it all depends on
Sequences.lengthUPM
versus lengthMdl
.