easyiec.preference.KernelBT#

class easyiec.preference.KernelBT(n_features=200, lengthscale=0.3, alpha=1.0, seed=0)[source]#

Bases: LinearBT

Nonlinear Bradley–Terry model on random Fourier features (Rahimi and Recht, 2007).

Approximates an RBF kernel with length-scale lengthscale; cheap enough to refit after every query in long sessions.

Examples using easyiec.preference.KernelBT#

Learning a utility from comparisons

Learning a utility from comparisons