Skip to content

Commit

Permalink
simplified docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Jul 31, 2021
1 parent aa7c9a7 commit 8a0f09a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/xgboost_distribution/distributions/exponential.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class Exponential(BaseDistribution):
f(x) = 1 / scale * e^(-x / scale)
where scale = 1 / lambda, with lambda being the rate parameter
We reparameterize scale -> log(scale) = a to ensure scale >= 0. Gradient:
d/da -log[f(x)] = d/da -log[1/e^a e^(-x / e^a)]
Expand Down

0 comments on commit 8a0f09a

Please sign in to comment.