Online learning in bandits with predicted context