Open ikrommyd opened 2 months ago
You can use the TransformedDistribution
to apply these transformations in the meantime (and were this to ever be added, this is how we'd implement it):
shifted_scaled_gamma = tfd.TransformedDistribution(tfd.Gamma(...), [tfb.Shift(loc), tfb.Scale(scale)])
Thanks a lot for the suggestion. Great concept!
Adding a
loc
type parameter to the Gamma distribution like scipy has would be beneficial. It is relatively common in physcs for people to use the Gamma distribution and data shifts are always important in such things. @jonas-eschle