Analysis of Representations for Domain Adaptation