From 8a0f09ad982493c793fdc76159ecb2cc7bf07c56 Mon Sep 17 00:00:00 2001 From: Christian Donnerer Date: Sat, 31 Jul 2021 16:18:58 +0100 Subject: [PATCH] simplified docstring --- src/xgboost_distribution/distributions/exponential.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xgboost_distribution/distributions/exponential.py b/src/xgboost_distribution/distributions/exponential.py index 0364b2e..6ef3b0c 100644 --- a/src/xgboost_distribution/distributions/exponential.py +++ b/src/xgboost_distribution/distributions/exponential.py @@ -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)]