ExperimentsManager.ArgsType

Parameter space for positional arguments, with indexing symbol (for readability only, useless in practice).

ExperimentsManager.PrmSetType

Representation of a set of function parameters (positional arguments args and keyword arguments kwargs).

Base.runMethod
run(ue; remaining_iterations)

Runs an UnitExp for remaining_iterations, and returns .

ExperimentsManager.addvarMethod
addvar(e, init; save_output=true)

Creates an experiment variable, which will be initialized at init at each run.

ExperimentsManager.expand_argsMethod

Example: [:a => [a1,a2], :b => [b1,b2,b3]] will produce: [[:a=>a1,:b=>b1],[:a=>a1,:b=>b2],[:a=>a1,:b=>b3], [:a=>a2,:b=>b1],[:a=>a2,:b=>b2],[:a=>a2,:b=>b3]]

ExperimentsManager.expand_valueMethod

expand_value(k) returns a function f such that:

  • f(v=>p::KwArgs) returns the union of k=>v and p (expanded)
  • f(v) = Dict(k=>v) otherwise
ExperimentsManager.newpathMethod
newpath(resultsdir, basename)

Creates file name of the form basename_X.csv that does not exists in resultsdir.

ExperimentsManager.prunMethod
prun(e, backend_kwargs; use_threads)

WIP Iterates over the parameter space similarly to run, but using several processes (or 1 process and multiple threads if use_threads is true). This function does not returns anything, and thus results should be stored to disk.

ExperimentsManager.update_outputs!Method
update_outputs!(outputs, out)

Adds the new output out to outputs. More precisely, as both out and outputs are dictionaries with keys corresponding to variable names, each pair :var => data in out yields data being added to outputs[:var].