Adagraph: Unifying predictive and continuous domain adaptation through graphs