Skip to content

Commit

Permalink
fix analytics param sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
kengz committed Apr 27, 2017
1 parent 9d4ccd3 commit e9de40e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rl/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,10 @@ def compose_data(trial):
}

# param variables for independent vars of trials
default_param = trial.experiment_spec['param']
param_variables = {
pv: trial.experiment_spec['param'][pv] for
pv in trial.param_variables}
pv: default_param[pv] for
pv in trial.param_variables if pv in default_param}

trial.data['metrics'].update(metrics)
trial.data['param_variables'] = param_variables
Expand Down

0 comments on commit e9de40e

Please sign in to comment.