public static class R_D.Forest extends R_D
linearly
dependent on a single
parent
column.
The fully parameterised model is R_D.Forest.M
.
Also see R_D.ForestSearch
.Modifier and Type | Class and Description |
---|---|
class |
R_D.Forest.M
Fully parameterised
R_D.Forest -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
The number of columns, the dimension, D, of RD.
|
int |
nChildren
The number of columns that have a
parent . |
int[] |
parent
If parent[i] ≥ 0 then column 'i' has that parent column.
|
Constructor and Description |
---|
Forest(Value dp)
Problem definition parameter 'dp' gives
parent[] ,
must specify a forest. |
Modifier and Type | Method and Description |
---|---|
int |
D()
The dimension,
D , of RD. |
UPModel.Est |
estimator(Value ps)
Estimator for a fully
parameterised Forest model. |
R_D.Forest.M |
sp2Model(double msg1,
double msg2,
Value sp)
Given two-part message lengths msg1 & msg2, and statistical
parameter sp, return a fully parameterised
M-Model . |
Value.Tuple |
stats(boolean add,
Value ss0,
Value ss1)
Combine sufficient statisticses 'ss0' and 'ss1' additively
(add=true), or remove ss1 from ss0 (add=false).
|
Value.Tuple |
stats(Vector ds,
int lo,
int hi)
|
ds2L1stats, ds2NorL1stats, ds2Nstats, transform
public final int[] parent
public final int nChildren
parent
.public final int D
public Value.Tuple stats(Vector ds, int lo, int hi)
Normals
and another for the Linear1s
.
Uses R_D.ds2NorL1stats(Vector,int[])
.public Value.Tuple stats(boolean add, Value ss0, Value ss1)
UPModel
stats(ds,lo,hi)
.public R_D.Forest.M sp2Model(double msg1, double msg2, Value sp)
UPModel
public UPModel.Est estimator(Value ps)
parameterised
Forest model.