예제 #1
0
import utils
import optimizer


if __name__ == '__main__':
    opt_requirements, experimental_settings = utils.parse_requirements()
    hp_utils = utils.HyperparameterUtilities(experimental_settings)
    opt = optimizer.LatinHypercubeSampling(hp_utils, opt_requirements, experimental_settings)
    best_conf, best_performance = opt.optimize()
예제 #2
0
import utils
import optimizer

if __name__ == '__main__':
    func_name = "sphere"
    requirements, experimental_settings = utils.parse_requirements()
    hp_utils = utils.HyperparameterUtilities(
        func_name, experimental_settings=experimental_settings)
    opt = optimizer.TPE(hp_utils, **requirements)
    best_conf, best_performance = opt.optimize()