AFL.agent.UCB_AcquisitionFunction module#

class AFL.agent.UCB_AcquisitionFunction.Acquisition#

Bases: object

add_exclusion(points)#
copy()#
execute()#
get_next_sample(nth=0, composition_check=None, sample_randomly=False)#
plot(masked=False, **kwargs)#
reset_phasemap(phasemap)#
AFL.agent.UCB_AcquisitionFunction.gauss2d(x=0, y=0, cx=0, cy=0, sx=1, sy=1, a=-1)#
AFL.agent.UCB_AcquisitionFunction.get_next_sample_passthrough(self, next_sample, *args, **kwargs)#
class AFL.agent.UCB_AcquisitionFunction.pseudoUCB(scaling=1.0, Thompson_sampling=False)#

Bases: Acquisition

This acquisition function works on two GPs only. One has to be a classifier and the other has to be a regressor This needs to be generalizable and requires some thought…

calculate_metric(GP, GPR)#