Efficient Transfer Learning for Heterogeneous Machine Learning Domains