We can train a standard linear classifier on the generated training instances to learn the weight vector w. In the case of the IWIYW data, there is no explicit ranking between actions.
we are able to create ranking pairs for the IWIYW data in the following way.