public class Markov.M extends UPSeriesModel.Length.M
SeriesModel.AnalysisModel.Defaults, Model.TransformValue.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, randomasGiven, asGiven, toStringasUPModelasEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTrivpublic final MultiState.M[] mdls
public M(double msg1,
double msg2,
Value sp)
public final Model lenMdl()
UPSeriesModel.Length.MlenMdl in class UPSeriesModel.Length.Mpublic Value stats(Vector seqs, int lo, int hi)
lenMdl vai UPSeriesModel.Length.M.lenStats(la.maths.Vector, int, int).stats in class UPSeriesModel.Mpublic Value stats(boolean add, Value ss0, Value ss1)
lenMdl.stats in class UPSeriesModel.Mpublic 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