Skip to content

Commit

Permalink
Enhanced documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Starofall committed Jan 17, 2017
1 parent c535982 commit 732cba3
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions experiment-specification/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
system = {

# Defines how to run experiments
# "sequential" -> Runs a list of experiments in a sequential way
# requires a "experiments_seq" array
# "sequential" -> Runs a list of experiments in a sequential way
# requires a "experiments_seq" array in the definition.py
# "self_optimizer" -> Runs a self adaptation algorithm to optimize values
# requires a "self_optimizer" object in the definition
# requires a "self_optimizer" object in the definition.py
# "step" -> Goes through the range in steps (even on two dimensions)
# requires a "step_explorer" object in the definition.py
"execution_strategy": "",

# We can install a preprocessor like Spark to reduce data volume
Expand Down Expand Up @@ -125,3 +127,16 @@
"sample_size": 1000,
}
]

# If we use ExecutionStrategy "sequential" ->
step_explorer = {
# If new changes are not instantly visible, we want to ignore some results after state changes
"ignore_first_n_results": 10,
# How many samples of data to receive for one run
"sample_size": 10,
# The variables to modify
"knobs": {
# defines a [from-to] interval and step
"variable_name": ([0.0, 0.4], 0.1),
}
}

0 comments on commit 732cba3

Please sign in to comment.