Question about the mode: "single" and "pairwise"
ChaoZhang123 opened this issue · comments
None commented
I am wondering if you could give a simple explanation of the mode "single" and "pairwise". Is there any preference to stick to one mode?
Thank you in advance.
Hitoshi Manabe commented
These two modes have the different objective functions.
“single” mode uses the negative log likelihood of sigmoid activation as an objective, and “pairwise” mode uses max-margin loss.
In my opinion, there isn’t the significant difference in performance between single and pairwise mode, but it may depend on the model or dataset you use.
Cico commented
Great, thank you for the explanation!