Akamas Docs
3.4.0
Ask or search…
K

Bootstrap step

A baseline step performs an experiment (a baseline experiment) and marks it as the initial experiment of a study. The purpose of the step is to build a reference configuration that Akamas can use to measure the effectiveness of an optimization conducted towards a system.
When a bootstrap step imports an experiment from another study, the step copies not only the experiment but also its trials and the system metrics generated during its execution.
The bootstrap step has the following structure:
Field
Type
Value restrictions
Is required
Default value
Description
type
string
bootstrap
yes
The type of the step, in this case, bootstrap
name
string
yes
The name of the step
runOnFailure
boolean
true false
no
false
The execution policy of the step:
  • false prevents the step from running in case the previous step failed
  • true allows the step to run even if the previous step failed
from
array of objects
Each object should have the structure described below
yes
The experiments to import in the current study
In case this is not set, this step imports every experiment of a study
where the from field should have the following structure:
1
study: "study_bootstrap_1" 2experiments: [1,2,3]
with:
  • study contains the name or id of the study from which to import experiments
  • experiments contains the numbers of the experiments from which to import

Examples

The following is an example of a bootstrap step that imports four experiments from two studies:
1
name: "my_bootstrap" # name of the step
2
type: "bootstrap" # type of the step (bootstrap)
3
from:
4
- study: "study_bootstap_1" # name or id of the study from which to import
5
experiments: [1, 2, 4] # the numbers of the experiments to import
6
- study: "study_bootstrap_2"
7
experiments: [1]
You can also import all the experiments of a study by omitting the experiments field:
1
name: "my_bootstrap" # name of the step
2
type: "bootstrap" # type of the step (bootstrap)
3
from:
4
- study: "study_bootstrap_1" # name or id of the study from which to import
Last modified 3mo ago