public static class Simplex.Uniform extends Simplex
Mdl
is fully parameterised).
A Uniform Simplex Model is a plausible prior for
MultiState.M
(note that a MultiState
over a data-space of 'n' possible Values itself has n-1 parameters
(degrees of freedom) which lie in an (n-1)_Simplex).
Also see Direction.Uniform
.Modifier and Type | Class and Description |
---|---|
class |
Simplex.Uniform.M
Mdl should be sufficient for most purposes, but here is
M, the class of fully parameterised Uniform Simplex Model(s). |
Simplex.Uniform
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 |
---|---|
Simplex.Uniform.M |
Mdl
The "given" fully parameterised Simplex.Uniform Model.
|
Constructor and Description |
---|
Uniform(Value K)
Uniform K-simplex in [0, 1]D, where D=K+1.
|
Modifier and Type | Method and Description |
---|---|
Estimator |
estimator(Value t)
The trivial Estimator that is a Uniform's.
|
int |
K()
The dimension (degrees of freedom) of the sub-space
(in [0, 1]K+1).
|
Simplex.Uniform.M |
sp2Model(double m1,
double m2,
Value t)
Return a "fully parameterised" Uniform Simplex Model;
the statistical parameter, t, is trivial.
|
Vector |
stats(boolean add,
Value ss0,
Value ss1)
Combine sufficient statisticses 'ss0' and 'ss1' additively
(add=true), or remove ss1 from ss0 (add=false).
|
Vector |
stats(Vector ds,
int lo,
int hi)
The default sufficient statistics ss = stats(ds)
of a data-set ds; ss = ds itself.
|
ds2L1stats, ds2NorL1stats, ds2Nstats, transform
public Simplex.Uniform.M Mdl
public Uniform(Value K)
public int K()
Direction.Uniform.D()
.public Simplex.Uniform.M sp2Model(double m1, double m2, Value t)
public Vector stats(Vector ds, int lo, int hi)
Simplex.Uniform.M.nlLH(la.la.Value)
.
More on stats here
.public Vector stats(boolean add, Value ss0, Value ss1)
UPModel
stats(ds,lo,hi)
.