implementations of domain adaptation and MTL algorithms