A quantile-based approach for hyperparameter transfer learning