If you think β (hyperparameter for momentum) is between on 0.9 and 0.99, which of the following is the recommended way to sample a value for beta?

If you think β (hyperparameter for momentum) is between on 0.9 and 0.99, which of the following is the recommended way to sample a value for beta?

r = np.random.rand()
beta = r*0.09 + 0.9

 

r = np.random.rand()
beta = 1-10**(- r + 1)

 

r = np.random.rand()
beta = 1-10**(- r - 1)

r = np.random.rand()
beta = r*0.9 + 0.09
  1.  

Get All Week Quiz Answer:

Improving Deep Neural Networks: Hyperparameter Tuning, Regularization and Optimization Coursera Quiz Answer

 

Similar Posts