public class Continuous.Transform extends Continuous
Continuous.Transform.M.
See logNormal for example.
We would like Transform to extend both Continuous
and UPModel.Transform, the former for what
we want Transform to be, the latter to inherit
some code, but it cannot so we go with the former and
copy some code from the latter.
Also see the related but different Continuous.M.Transform.transform(f).| Modifier and Type | Class and Description |
|---|---|
class |
Continuous.Transform.M
The fully parameterised transformed Model; the
UnParameterised model is
Continuous.Transform. |
Continuous.Bounded, Continuous.Transform, Continuous.UniformUPModel.EstFunction.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.Cts2Cts |
f
The continuous Function, f:Cts→Cts,
doing the transforming of data.
|
| Constructor and Description |
|---|
Transform(Value f)
Problem defining parameter 'f' must be a
Function.Cts2Cts. |
| Modifier and Type | Method and Description |
|---|---|
UPModel.Est |
estimator(Value ps)
Uses the enclosing Continuous.this's estimator but
statistics take the transforming
function 'f' into account. |
Continuous.Transform.M |
sp2Model(double msg1,
double msg2,
Value sp)
Return a fully parameterised
Continuous.Transform.M. |
Value |
stats(boolean add,
Value ss0,
Value ss1)
Combine
statistics ss0 and ss1 as per
the enclosing Continuous.this. |
Value |
stats(Vector ds,
int lo,
int hi)
The enclosing Continuous.this's
stats(ds.map(
f)), on a transformed data-set. |
java.lang.String |
toString()
Return a String representation of 'this' UnParameterised Model,
including its problem-
defining parameters. |
transformpublic final Function.Cts2Cts f
public Transform(Value f)
Function.Cts2Cts.public Continuous.Transform.M sp2Model(double msg1, double msg2, Value sp)
Continuous.Transform.M.sp2Model in class Continuouspublic Value stats(Vector ds, int lo, int hi)
f)), on a transformed data-set.public Value stats(boolean add, Value ss0, Value ss1)
statistics ss0 and ss1 as per
the enclosing Continuous.this.public java.lang.String toString()
UPModeldefining parameters.public UPModel.Est estimator(Value ps)
statistics take the transforming
function 'f' into account.