tigercontrol.experiments.run_experiment

tigercontrol.experiments.run_experiment(problem, model, metric='mse', key=0, timesteps=100, verbose=True, load_bar=True)[source]

Description: Initializes the experiment instance.

Parameters:
  • problem (tuple) – problem id and parameters to initialize the specific problem instance with
  • model (tuple) – model id and parameters to initialize the specific model instance with
  • metric (string) – metric we are interesting in computing for current experiment
  • key (int) – for reproducibility
  • timesteps (int) – number of time steps to run experiment for
Returns:

loss series for the specified metric over the entirety of the experiment time (float): time elapsed memory (float): memory used

Return type:

loss (list)