Active Sampling - REST HTTP ServerΒΆ

retrieve_settings(samplerid) provides lists of the settings used by the sampler.
update_sampler(samplerid, uid) updates the sampler with the forward model's observation
app The flask object implements a WSGI application and acts as the central object.
response
initialise_sampler() Initialise the Sampler Model This expects a dict containing: lower : a list of the lower bounds of the region of interest upper : a list of the upper bounds of the region of interest X_train : training data to train the sampler.
server
get_query(samplerid) Returns a set of parameters to query the forward model with
returns_json(f) A decorator for Flask route handlers that return JSON.
predict(samplerid) provides a prediction of the forward model at a set of given query
retrieve_trainingdata(samplerid) provides lists of the real and virtual training data used by the sampler.

Previous topic

dora.active_sampling.delaunay_sampler.Delaunay

Next topic

dora.server.retrieve_settings