A Global Optimization Algorithm Worth Using
Here is a common problem: you have some machine learning algorithm you want to use but it has these damn hyperparameters. These are numbers like weight decay magnitude, Gaussian kernel width, and so forth. The algorithm doesn't set them, instead, it's up to you to determine their values. If you don't set these parameters to "good" values the algorithm doesn't work. Well, here is a list of everything I've seen people do, listed in order of most to least common: Guess and Check: Listen to your gut, pick numbers that feel good and see if they work. Keep doing this until you are tired of doing it. Grid Search: Ask your computer to try a bunch of values spread evenly over some range. Random Search: Ask your computer to try a bunch of values by picking them randomly. Bayesian Optimization: Use a tool like MATLAB's bayesopt to automatically pick the best parameters, then find out Bayesian Optimization has more hyperparameters than your machine learning algorithm, get frustrated, and go back to using guess and check or grid search.
Jan-4-2018, 21:15:50 GMT
- Technology: