public class Markov.M extends UPSeriesModel.Length.M
SeriesModel.Analysis
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 |
---|---|
MultiState.M[] |
mdls
mdls, MultiState Models, one per context.
|
Modifier and Type | Method and Description |
---|---|
SeriesModel.Analysis |
analysis(Value.Scannable sv)
Return the Analysis of a datum Series sv.
|
Model |
lenMdl()
Return the explicit, fully parameterised Model of lengths.
|
double |
nlLH(Value ss)
Given statistics, ss =
stats(ds) , of
a data-set, ds, return the negative log likelihood of ds. |
Value |
stats(boolean add,
Value ss0,
Value ss1)
Calls upon stats(add,.,) of
lenMdl . |
Value |
stats(Vector seqs,
int lo,
int hi)
Collect statistics, ss = stats(seqs,lo,hi), of
a data-set, that is of a Vector of Vectors, seqs.
|
lenStats, nlPr, random
asGiven, asGiven, toString
asUPModel
asEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public final MultiState.M[] mdls
public M(double msg1, double msg2, Value sp)
public final Model lenMdl()
UPSeriesModel.Length.M
lenMdl
in class UPSeriesModel.Length.M
public Value stats(Vector seqs, int lo, int hi)
lenMdl
vai UPSeriesModel.Length.M.lenStats(la.maths.Vector, int, int)
.stats
in class UPSeriesModel.M
public Value stats(boolean add, Value ss0, Value ss1)
lenMdl
.stats
in class UPSeriesModel.M
public double nlLH(Value ss)
stats(ds)
, of
a data-set, ds, return the negative log likelihood of ds.public SeriesModel.Analysis analysis(Value.Scannable sv)
analysis
in class SeriesModel