easyiec.strategies.PreferentialBO#
- class easyiec.strategies.PreferentialBO(n_pairs=1, acquisition='thompson', model=None, **kw)[source]#
Bases:
_GPPrefStrategyPreferential Bayesian optimization with duels against the incumbent.
- Parameters:
- n_pairs
int Duels per query (batch PBO: the incumbent against the
n_pairsbest, mutually distant acquisition maximizers).- acquisition{“thompson”, “ei”, “ucb”}
"thompson"draws one independent sample of the posterior marginal at each candidate (a cheap approximation of Thompson sampling);"ei"maximizes expected improvement over the incumbent’s posterior mean;"ucb"the upper confidence bound.- model
PreferenceModel,optional Default
GPPreference.
- n_pairs
Examples using easyiec.strategies.PreferentialBO#
Preferential Bayesian optimization, line search and gallery
Preferential Bayesian optimization, line search and gallery