easyiec.preference.LinearBT#
- class easyiec.preference.LinearBT(alpha=1.0, iters=50)[source]#
Bases:
PreferenceModelBradley–Terry model with a linear utility \(u(\mathbf x)=\mathbf w^\top\mathbf x\).
Logistic regression on feature differences with an L2 prior (precision
alpha); the Laplace approximation of the posterior gives the predictive standard deviation \(\sqrt{\mathbf x^\top\Sigma\mathbf x}\).