Skip to content

Instantly share code, notes, and snippets.

@darthdeus
Created January 23, 2019 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darthdeus/894b7e3ab75b0ee93dc4253dd863dbfe to your computer and use it in GitHub Desktop.
Save darthdeus/894b7e3ab75b0ee93dc4253dd863dbfe to your computer and use it in GitHub Desktop.
# This file is a template for a new experiment.
# It specifies how the experiment is to be created,
# but does not hold its state.
# Name of the experiment
name: {{experiment_name}}
# A List of hyperparamters to be tuned.
hyperparameters:
# Each hyperparameter needs to specify:
#
# name: string
# type: int/float
# bounds: min and max value, both int/float
- name: x
type: float
bounds:
min: 0.1
max: 1.1
- name: y
type: float
bounds:
min: 0.1
max: 1.1
- name: num_layers
type: int
bounds:
min: 1
max: 10
# The runner determines which program is being optimzied.
# It can run either in local mode when jobs are executed
# on the current machine, or on SGE where each evaluation
# is submitted as a separate job.
runner:
# So far the runner can be either "local" or "sge".
type: local
# Module path a parser instance which can read
# the intermediate and final results of a job.
#
# Right now the only valid value is the default one.
result_parser: bopt.LastLineLastWordParser
# Path to the program being executed as each job.
script: "./.venv/bin/python"
# Optional command line arguments
args:
- "experiments/rl/monte_carlo.py"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment