Hyperparameter Transfer Learning with Adaptive Complexity