Simulated Annealing Algorithm
The simulated annealing algorithm is a simple but effective variant on random search that leverages smoothness in the response surface. The annealing rate is not adaptive. The annealing algorithm is to choose one of the previous trial points as a starting point, and then to sample each hyperparameter from a similar distribution to the one specified in the prior, but whose density is more concentrated around the selected trial point. The algorithm tends over time to sample from points closer and closer to the best ones. During the sampling, this algorithm may draw a runner-up trial as the best trail to avoid local optima at a certain probability.
Parameter |
Description |
Recommended Value |
---|---|---|
num_samples |
Number of times to sample from the hyperparameter space |
The value is an integer ranging from 10 to 20. The larger the value, the longer the search time and the better the effect. |
avg_best_idx |
Mean of geometric distribution over which trial to explore around, selecting from trials sorted by score |
This value is a float. You are advised not to change it. |
shrink_coef |
Rate of reduction in the size of sampling neighborhood as more points have been explored |
This value is a float. You are advised not to change it. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot