Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tfb_power_transform

ComputesY = g(X) = (1 + X * c)**(1 / c), where X >= -1 / c


Description

The power transform maps inputs from [0, inf] to [-1/c, inf]; this is equivalent to the inverse of this bijector. This bijector is equivalent to the Exp bijector when c=0.

Usage

tfb_power_transform(power, validate_args = FALSE, name = "power_transform")

Arguments

power

float scalar indicating the transform power, i.e., Y = g(X) = (1 + X * c)**(1 / c) where c is the power.

validate_args

Logical, default FALSE. Whether to validate input with asserts. If validate_args is FALSE, and the inputs are invalid, correct behavior is not guaranteed.

name

name prefixed to Ops created by this class.

Value

a bijector instance.

See Also


tfprobability

Interface to 'TensorFlow Probability'

v0.11.0.0
Apache License (>= 2.0)
Authors
Sigrid Keydana [aut, cre], Daniel Falbel [ctb], Kevin Kuo [ctb] (<https://orcid.org/0000-0001-7803-7901>), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.