public abstract class R_D extends ByPdf
R_D.M
.Modifier and Type | Class and Description |
---|---|
static class |
R_D.Forest
|
static class |
R_D.ForestSearch
A generalisation of
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. |
static class |
R_D.Independent
A Vector of Models is a Model of Vectors RD.
|
class |
R_D.M
(abstract) M, fully parameterised Models of RD.
|
static class |
R_D.NrmDir
An UnParameterised Model of Vectors in RD made from
UnParameterised Models of norms (lengths) and of Directions.
|
class |
R_D.Transform
The UnParameterised R_D.Transform model; the parameterised Model is
R_D.Transform.M .NB. the preferred way to transform an R_D is with function R_D.transform(f) . |
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
Constructor and Description |
---|
R_D(Value dp)
Given problem-defining parameter(s), dp, construct an
UnParameterised Model of Vectors in RD.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
D()
D(), the dimension of the data-space RD.
|
static Matrix |
ds2L1stats(Vector ds)
Calculate all per-two-column Linear1-
stats . |
static Value.Tuple |
ds2NorL1stats(Vector ds,
int[] parent)
|
static Vector |
ds2Nstats(Vector ds)
Calculate all per-column Normal-
stats . |
abstract R_D.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 . |
R_D |
transform(Function.CtsD2CtsD f)
transform(f) is the preferred way to transform an R_D with a
Function f.
|
apply, defnParams, estimator, main, stats, stats, stats, stats, toString, transform
public R_D(Value dp)
public abstract int D()
public static Vector ds2Nstats(Vector ds)
stats
.
This may be of use in various R_D models including generalisations
of, and variations on, R_D.Forest
. NB. static.
Also see ds2L1stats(la.maths.Vector)
and ds2NorL1stats(la.maths.Vector, int[])
.public static Matrix ds2L1stats(Vector ds)
stats
.
This may be of use in various Linear models including generalisations
of, and variations on, R_D.Forest
. NB. static.
Also see ds2Nstats(la.maths.Vector)
and ds2NorL1stats(la.maths.Vector, int[])
.public static Value.Tuple ds2NorL1stats(Vector ds, int[] parent)
stats
for each
"parent-less" column and Linear1-stats
for each column that has a 'parent' column. If parent[i]<0
then column 'i' has no parent. Result is a pair, a Vector for
the Normals and a Vector for the Linear1s. Used by R_D.Forest
and might be useful in other Linear models. NB. static.
Also see ds2Nstats(la.maths.Vector)
and ds2L1stats(la.maths.Vector)
.public abstract R_D.M sp2Model(double msg1, double msg2, Value sp)
UPModel
public R_D transform(Function.CtsD2CtsD f)
R_D.M.transform(la.la.Function.CtsD2CtsD)
.