Parameter.Pool Module
Types
| Type | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Functions and values
| Function or value |
Description
|
|
|
|
|
Full Usage:
Pool.drawRandom rnd arg2
Parameters:
Random
arg1 : ParameterPool
Returns: ParameterPool
|
Draw a random set of parameters in real space within their bounds. Assumes a uniform distribution for each draw across all parameters.
|
|
Create a Pool where all parameters are fixed at their current estimate. Lower and upper bounds are both set to the estimate.
|
Full Usage:
Pool.fromList xs
Parameters:
(ShortCode * AnyParameter) list
Returns: ParameterPool
|
|
Full Usage:
Pool.fromRealVector realVec arg2
Parameters:
TypedTensor<Vector, MeasureProduct<parameter, MeasureOne>>
arg1 : ParameterPool
Returns: ParameterPool
|
Given a real-space parameter vector and an existing pool, return a new pool with each parameter's estimate set to the corresponding value.
|
|
|
Full Usage:
Pool.toList arg1
Parameters:
ParameterPool
Returns: (ShortCode * AnyParameter) list
|
|
Full Usage:
Pool.toOptimiserConfigBounded pool
Parameters:
ParameterPool
Returns: OptimiserConfig<MeasureProduct<optim-space, MeasureOne>>
|
Make a configuration for an optimiser that handles unit transforms to bounded optimisation space.
|
Full Usage:
Pool.toOptimiserConfigTransformed pool
Parameters:
ParameterPool
Returns: OptimiserConfig<MeasureProduct<optim-space-transformed, MeasureOne>>
|
Make a configuration for an optimiser that handles unit transforms to unbounded optimisation space. Transforms are applied where applicable.
|
Full Usage:
Pool.toTensorWithKeysReal arg1
Parameters:
ParameterPool
Returns: ShortCode[] * TypedTensor<Vector, MeasureProduct<parameter, MeasureOne>>
|
|
Full Usage:
Pool.tryGetRealValue name arg2
Parameters:
string
arg1 : ParameterPool
Returns: float<'u> option
|
Try to get the real value of a parameter by its ShortCode key.
|
bristlecone