Ranking: Difference between revisions

No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


===Pair-wise ranking===
===Pair-wise ranking===
If you data is of the form: <math>y(x_a) > y(x_b)</math> then you can train so that your model maximizes <math>f(x_a) - f(x_b)</math> using a hinge loss: <math>L(x_a, x_b) = max(0, 1-(f(x_a) - f(x_b)))</math>
If you data is of the form: <math>y(x_a) > y(x_b)</math> then you can train so that your model maximizes <math>f(x_a) - f(x_b)</math> using a hinge loss:  
<math>
\begin{equation}
L(x_a, x_b) = max(0, 1-(f(x_a) - f(x_b)))
\end{equation}
</math>


===Listwise ranking===
Use something like [https://auai.org/uai2014/proceedings/individuals/164.pdf ListMLE]


==Metrics==
==Metrics==