dora.active_sampling.delaunay_sampler.Delaunay

class dora.active_sampling.delaunay_sampler.Delaunay(lower, upper, explore_priority=0.0001)

Delaunay Class

Inherits from the Sampler class and augments pick and update with the mechanics of the Delanauy triangulation method

triangulation

scipy.spatial.qhull.Delaunay -- The Delaunay triangulation model object

simplex_cache

dict -- Cached values of simplices for Delaunay triangulation

explore_priority

float -- The priority of exploration against exploitation

See also

Sampler
Base Class
__init__(lower, upper, explore_priority=0.0001)

Initialises the Delaunay class

Note

Currently only supports rectangular type restrictions on the

parameter space

Parameters:
  • lower (array_like) -- Lower or minimum bounds for the parameter space
  • upper (array_like) -- Upper or maximum bounds for the parameter space
  • explore_priority (float, optional) -- The priority of exploration against exploitation

Methods

__init__(lower, upper[, explore_priority]) Initialises the Delaunay class
pick() Picks the next location in parameter space for the next observation
update(uid, y_true) Updates a job with its observed value