Machine learning role in anticipating user intent