AFL.agent.EI_AcquisitionFunction module#
- class AFL.agent.EI_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)#
- class AFL.agent.EI_AcquisitionFunction.EI(model_type='classifier')#
Bases:
Acquisition
This acquisition function works on a single GP model (either classifier or regressor, to be specified in the init)
- calculate_metric(GP)#
- AFL.agent.EI_AcquisitionFunction.gauss2d(x=0, y=0, cx=0, cy=0, sx=1, sy=1, a=-1)#
- class AFL.agent.EI_AcquisitionFunction.pseudoEI(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)#