gcubed.runners.baseline_runner
This module contains the BaselineRunner
class - used to get baseline
projections from a G-Cubed model and to save various intermediate outputs
into the model's data directory.
Overview
This is a simple runner that saves intermediate model information into the model's data directory.
Note that no experiments are run.
Constructor
When the constructor is called, the runner loads the configuration and the model, ready for running. Call the run method when you are ready to create the baseline projections.
Arguments
working_directory
: The directory where the results
and logs are to be stored.
configuration_file
: The location of the configuration
file, as an absolute path or relative to the
specified working directory.
Exceptions
Raises exceptions if the working directory is not specified correctly.
Raises exceptions if the configuration file is not specified correctly.
Overview
Do the actual work of running the model and performing the experiment.
Call this method after setting up the runner.
Once the experiment has run, you can retrieve projections from the simulation layer(s) of interest and the baseline for comparison and analysis purposes.
Inherited Members
- gcubed.runners.advanced_runner.AdvancedRunner
- start_projections_from_the_neutral_real_interest_rate
- linearise_around_the_neutral_real_interest_rate
- relinearise_around_the_neutral_real_interest_rate
- relinearise_in_event_years
- experiment_design_file
- working_directory
- model_directory
- configuration_file
- model
- relinearisation_years
- event_years
- all_projections
- baseline_projections
- most_recently_generated_projections
- final_projections
- simulation_layer_definitions
- linearise_around_strict_model_solution
- start_relinearisation_projections_from_the_neutral_real_interest_rate
- completed_successfully
- reset
- save_projections