Decorate a Function with once
Zero configuration
Apply @stet.once with no arguments to use all defaults: all parameters as the key,
store in _stet_store.csv:
Specify a store
Pass store= to control where runs are recorded:
The backend is selected from the file extension. See Choose a Backend.
Specify key parameters
Pass key= to declare which parameters define experiment identity. Parameters not in
key are ignored for the purpose of deciding whether a run is skipped:
@stet.once(store='markov_runs.csv', key=['alpha', 'seed'])
def run_experiment(alpha, seed, n_iter=1000):
...
See Choose Key Parameters for guidance on what to include.