Learning from Comparisons and Choices