public static class R_D.ForestSearch extends R_D
R_D.Forest
that is able to estimate the
model's structure – the child-parent
relations – as well as the parameters of the component
distributions. Note that the "estimating"
statistics
and the "likelihood"
statistics
differ considerably.
The fully parameterised model is R_D.ForestSearch.M
.Modifier and Type | Class and Description |
---|---|
class |
R_D.ForestSearch.M
The fully parameterised
R_D.ForestSearch -model. |
R_D.Forest, R_D.ForestSearch, R_D.Independent, R_D.NrmDir, R_D.Transform
UPModel.Est
Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
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 |
---|---|
int |
D
A datum is a Vector of 'D' Continuous Values.
|
Constructor and Description |
---|
ForestSearch(Value dp)
'dp' is the dimension, "width",
D . |
Modifier and Type | Method and Description |
---|---|
int |
D()
Return
D . |
UPModel.Est |
estimator(Value ps)
Parameter 'ps' is bounds on μ, σ, and b.
|
R_D.ForestSearch.M |
sp2Model(double msg1,
double msg2,
Value sp)
Return a fully parameterised
model . |
Value |
stats(boolean add,
Value ss0,
Value ss1)
Combine
statistics ss0 and ss1,
either positively (add=true) or negatively (add=false). |
Value |
stats(Vector ds,
int lo,
int hi)
Sufficient statistics 'ss' are
⟨D× stats for Normals,
D×(D-1) stats for Linear1s⟩.
|
ds2L1stats, ds2NorL1stats, ds2Nstats, transform
public Value stats(Vector ds, int lo, int hi)
R_D.ForestSearch.M.stats(Vector,int,int)
because the structure is not yet decided.
(Uses R_D.ds2Nstats(la.maths.Vector)
and R_D.ds2L1stats(la.maths.Vector)
.)public Value stats(boolean add, Value ss0, Value ss1)
statistics
ss0 and ss1,
either positively (add=true) or negatively (add=false).public R_D.ForestSearch.M sp2Model(double msg1, double msg2, Value sp)
model
.public UPModel.Est estimator(Value ps)
parent[]
must represent a Forest.
Also see NormalUPM.estimator(la.la.Value)
and
Linear1.estimator(la.la.Value)
.