Sampler Class
Provides a basic template and interface to specific Sampler subclasses
numpy.ndarray -- Lower bounds for each parameter in the parameter space
numpy.ndarray -- Upper bounds for each parameter in the parameter space
int -- Dimension of the parameter space (number of parameters)
ArrayBuffer -- Contiguous Buffer of feature vectors representing observed locations in the parameter space
ArrayBuffer -- Contiguous Buffer of target outputs or expected (virtual) target outputs corresponding to the feature vectors 'X'
dict -- A dictionary that maps the job ID to the corresponding index in both the 'X' and 'y' buffers.
Initialises the Sampler class
Note
Currently only supports rectangular type restrictions on the
parameter space
Parameters: |
|
---|
Methods
__init__(lower, upper) | Initialises the Sampler class |
pick() | Picks the next location in parameter space for the next observation |
update(uid, y_true) | Updates a job with its observed value |