Exemplo n.º 1
0
 def oneLR(mumax, mu):
     """ One term of the Lai & Robbins lower bound for Exponential arms: (mumax - mu) / KL(mu, mumax). """
     return (mumax - mu) / klExp(mu, mumax)
Exemplo n.º 2
0
 def kl(x, y):
     """ The kl(x, y) to use for this arm."""
     return klExp(x, y)