Robust Covariate Shift Prediction with General Losses and Feature Views