public class UPModel.Transform extends UPModel
Transform.M.
Note, there is a more specific Continuous.Transform for
transforming (UnParameterised) Continuous models and similar
can be created for other subclasses of UPModel.transform(f).Model.Transform.| Modifier and Type | Class and Description |
|---|---|
class |
UPModel.Transform.M
The fully parameterised
Transform-ed Model. |
UPModel.Est, UPModel.TransformFunction.Native.WithInverseFunction.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3Value.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' is the Function doing the transforming (of data).
|
| Constructor and Description |
|---|
Transform(Value f)
The problem-defining parameter is Function '
f'. |
| Modifier and Type | Method and Description |
|---|---|
UPModel.Est |
estimator(Value ps)
The Estimator uses UPModel.this's estimator(ps) but
its ss2Model(ss) is given
statistics
transformed by Function f. |
UPModel.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'
as UPModel.this does. |
Value |
stats(Vector ds,
int lo,
int hi)
Statistics are UPModel.this.stats(ds.map(
f),...). |
public final Function f
public UPModel.Transform.M sp2Model(double msg1, double msg2, Value sp)
UPModelpublic Value stats(Vector ds, int lo, int hi)
f),...).
That is, transform the data-set 'ds' with Function f and
give the result to the enclosing UPModel.this.stats(...).public Value stats(boolean add, Value ss0, Value ss1)
statistics 'ss0' and 'ss1'
as UPModel.this does.public UPModel.Est estimator(Value ps)
statistics
transformed by Function f.
The Estimator returns (ss2Model) a Transform.M
with msg1, msg2 and statistical parameters as per the underlying
UPModel.this being transformed (and UPModel.M).