def sample_final_epsilon():
 final_epsilons = np.array([0.1, 0.01, 0.5])
 probabilities = np.array([0.4, 0.3, 0.3])
 return np.random.choice(final_epsilons, 1, p=list(probabilities))[0]

def sample_final_epsilon ( ) : final_epsilons = np . array ( [ 0.1 , 0.01 , 0.5 ] ) probabilities = np . array ( [ 0.4 , 0.3 , 0.3 ] ) return np . random . choice ( final_epsilons , 1 , p = list ( probabilities ) ) [ 0 ]
sample a final epsilon value to anneal towards from a distribution .