DistributionParameters

class DistributionParameters(*args)

Define a distribution with particular parameters.

This class enables to create a set of non-native parameters in order to define distribution.

A DistributionParameters object can be used through its derived classes:

Methods

__call__(self, inP)

Call self as a function.

evaluate(self)

Compute native parameters values.

getClassName(self)

Accessor to the object’s name.

getDescription(self)

Get the description of the parameters.

getDistribution(self)

Build a distribution based on a set of native parameters.

getId(self)

Accessor to the object’s id.

getImplementation(self)

Accessor to the underlying implementation.

getName(self)

Accessor to the object’s name.

getValues(self)

Accessor to the parameters values.

gradient(self)

Get the gradient.

inverse(self, inP)

Convert to native parameters.

setName(self, name)

Accessor to the object’s name.

setValues(self, values)

Accessor to the parameters values.

__init__(self, \*args)

Initialize self. See help(type(self)) for accurate signature.

evaluate(self)

Compute native parameters values.

Returns
valuesPoint

The native parameter values.

getClassName(self)

Accessor to the object’s name.

Returns
class_namestr

The object class name (object.__class__.__name__).

getDescription(self)

Get the description of the parameters.

Returns
collectionDescription

List of parameters names.

getDistribution(self)

Build a distribution based on a set of native parameters.

Returns
distributionDistribution

Distribution built with the native parameters.

getId(self)

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation(self)

Accessor to the underlying implementation.

Returns
implImplementation

The implementation class.

getName(self)

Accessor to the object’s name.

Returns
namestr

The name of the object.

getValues(self)

Accessor to the parameters values.

Returns
valuesPoint

List of parameters values.

gradient(self)

Get the gradient.

Returns
gradientMatrix

The gradient of the transformation of the native parameters into the new parameters.

Notes

If we note (p_1, \dots, p_q) the native parameters and (p'_1, \dots, p'_q) the new ones, then the gradient matrix is \left( \dfrac{\partial p'_i}{\partial p_j} \right)_{1 \leq i,j \leq  q}.

inverse(self, inP)

Convert to native parameters.

Parameters
inPsequence of float

The non-native parameters.

Returns
outPPoint

The native parameters.

setName(self, name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.

setValues(self, values)

Accessor to the parameters values.

Parameters
valuessequence of float

List of parameters values.