A flexible transfer learning framework for Bayesian optimization with convergence guarantee. (January 2019)