public abstract class SeriesModel extends Model
UPSeriesModel.M. Note that all
Length SeriesModels
have an explicit sub-Model of length, others not if, for example, a
data Series ends in an 'end' element (think Unix strings and '\0').
Also see Model, and FunctionModel.| Modifier and Type | Class and Description |
|---|---|
static class |
SeriesModel.Analysis
An Analysis of a Scannable Value (Series).
|
Model.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| Constructor and Description |
|---|
SeriesModel(double msg1,
double msg2,
Value sp) |
| Modifier and Type | Method and Description |
|---|---|
abstract SeriesModel.Analysis |
analysis(Value.Scannable sv)
Create (start) an
Analysis of Scannable sv. |
SeriesModel |
asGiven(double msg2)
Calls
#asGiven(0, msg2). |
SeriesModel |
asGiven(double msg1,
double msg2)
Return a clone of 'this' SeriesModel but with msg1 and
msg2 as specified.
|
UPSeriesModel |
asUPModel()
Treat 'this' fully parameterised SeriesModel as an
UnParameterised one.
|
abstract double |
nlPr(Value vec)
The negative log probability of datum Vector vec.
|
asEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, nlLH, pr, random, random, randomSeries, statParams, stats, stats, stats, stats, sumNlPr, toString, transform, type, zeroTrivpublic SeriesModel(double msg1,
double msg2,
Value sp)
public abstract double nlPr(Value vec)
public abstract SeriesModel.Analysis analysis(Value.Scannable sv)
Analysis of Scannable sv.public SeriesModel asGiven(double msg2)
#asGiven(0, msg2).public SeriesModel asGiven(double msg1, double msg2)
asGiven(,).public UPSeriesModel asUPModel()
Model.asUPModel().