Let N (q i ) be the number of non-zero ys for a given question.
in the two class case, N (q i ) will be 0 if there were no occurences of the question q i , 1 if training samples for q i always had the same value, and 2 if both 1 and 0 values occurred.