public class Model.Transform extends UPModel
log−1
=exp.
Model.Transform is an UnParameterised model and its
(trivially) parameterised Model is Model.Transform.M
.
Note, there is a more specific Continuous.M.Transform
for transforming Continuous.M Models, and similarly
R_D.M.Transform
.random()
depends on f having an
inverse()
implemented.transform(f)
.UPModel.Transform
and
UPModel.Transform.M
.Modifier and Type | Class and Description |
---|---|
class |
Model.Transform.M
The fully parameterised transformed Model has a trivial
statistical parameter, sp.
|
UPModel.Est, UPModel.Transform
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 |
---|---|
Function |
f
'f' the function doing the transforming (of data).
|
Model.Transform.M |
Mdl
The instance of M, 'Mdl'.
|
Constructor and Description |
---|
Transform(Value f)
Note, Function '
f ' is the problem defining parameter. |
Modifier and Type | Method and Description |
---|---|
Estimator |
estimator(Value t)
Trivial estimator, always "estimates"
Mdl . |
Model.Transform.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 |
stats(boolean add,
Value ss0,
Value ss1)
Combine
statistics 'ss0' and 'ss1' in
the way that Model.this does. |
Value |
stats(Vector ds,
int lo,
int hi)
The enclosing Model.this's stats(...) applied to the
data-set transformed by map(
f ). |
public final Function f
public final Model.Transform.M Mdl
public Value stats(Vector ds, int lo, int hi)
f
).public Value stats(boolean add, Value ss0, Value ss1)
statistics
'ss0' and 'ss1' in
the way that Model.this does.public Model.Transform.M sp2Model(double msg1, double msg2, Value sp)
UPModel