Deep learning and ensemble methods for domain adaptation