pymc.distributions.transforms.Ordered#
- class pymc.distributions.transforms.Ordered(positive=False, ascending=True)[source]#
Transforms a vector of values into a vector of ordered values.
- Parameters:
- positive: If True, all values are positive. This has better geometry than just chaining with a log transform.
- ascending: If True, the values are in ascending order (default). If False, the values are in descending order.
Methods
Ordered.__init__
([positive, ascending])Ordered.backward
(value, *inputs)Invert the transformation.
Ordered.forward
(value, *inputs)Apply the transformation.
Ordered.log_jac_det
(value, *inputs)Construct the log of the absolute value of the Jacobian determinant.
Attributes
name
ndim_supp