Dynamic classifier approximation for unsupervised domain adaptation