easyiec.preference.LinearBT#

class easyiec.preference.LinearBT(alpha=1.0, iters=50)[source]#

Bases: PreferenceModel

Bradley–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}\).

Examples using easyiec.preference.LinearBT#

Learning a utility from comparisons

Learning a utility from comparisons