def UCB(mean, var, zscore):
 return (mean + (np.sqrt(var) * zscore))

def UCB ( mean , var , zscore ) : return ( mean + ( np . sqrt ( var ) * zscore ) )
upper confidence bound for a model which predicts a gaussian-distributed outcome .