The ranking error rate is the number of times a lower-scoring parse is (incorrectly) ranked above the best parse: where again, gpÄ is one if p is true, zero otherwise.
in the ranking problem we define the margin for each example x i,j such that i = 1, : : : , n, j = 2, : : : , n i , as M ij ðā aÞ is the difference in ranking score between the correct parse of a sentence and a competing parse The ranking error is zero if all margins are positive.