You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some (seemingly trivial) questions regarding the said function. Any form of guidance is appreciated.
In the subroutine _Kn(), how does one get the + np.log(delta) term from Proposition 5?
Why do we check whether _Kn(1) is negative, and, if it is, subsequently return a WSR bound of 1?
When invoking scipy.optimize.brentq(), why do we use a “smaller” search interval (i.e., between 1e-10 and 1-1e-10) instead of between 0 and 1?
The text was updated successfully, but these errors were encountered:
christian-cahig
changed the title
Some questions about the implementation of the Waudby-Smith–Ramdas (WSR) bound bounds.WSR_mu_plus()
Some questions about the implementation of the Waudby-Smith–Ramdas (WSR) bound
Dec 21, 2022
We're inverting the capital process _Kn, so we need to find when it equals to log(delta). Looking at Theorem 3, we know that this happens when the process equals 1/delta. take log of both sides and set them equal.
If _Kn(1) is negative that means that we can never achieve an error of delta, which means that our upper-bound is 1. (This is basically just clipping).
This was just for numerical stability. I don't recall at this point exactly why this was needed, but I think some warnings were raised if you plugged in 0 or 1.
If I understand correctly,
bounds.WSR_mu_plus()
implements the Waudby-Smith–Ramdas (WSR) bound.rcps/core/bounds.py
Lines 126 to 137 in b400457
I have some (seemingly trivial) questions regarding the said function. Any form of guidance is appreciated.
_Kn()
, how does one get the+ np.log(delta)
term from Proposition 5?_Kn(1)
is negative, and, if it is, subsequently return a WSR bound of 1?scipy.optimize.brentq()
, why do we use a “smaller” search interval (i.e., between1e-10
and1-1e-10
) instead of between 0 and 1?The text was updated successfully, but these errors were encountered: