class_docstr: Defines experiment configs and paths to outputs.
  
  Attributes:
    root_folder: Root folder to contain all experimental outputs.
    experiment: Name of experiment to run.
    data_folder: Folder to store data for experiment.
    model_folder: Folder to store serialised models.
    results_folder: Folder to store results.
    data_csv_path: Path to primary data csv file used in experiment.
    hyperparam_iterations: Default number of random search iterations for
      experiment.
docstr: Creates configs based on default experiment chosen.
  
  Args:
    experiment: Name of experiment.
    root_folder: Root folder to save all outputs of training.
docstr_tok: ["Creates","configs","based","on","default","experiment","chosen",".","Args",":","experiment",":","Name","of","experiment",".","root_folder",":","Root","folder","to","save","all","outputs","of","training","."]
code: def __init__(self, experiment="volatility", root_folder=None):
      """Creates configs based on default experiment chosen.
  
      Args:
        experiment: Name of experiment.
        root_folder: Root folder to save all outputs of training.
      """
  
      if experiment not in self.default_experiments:
          raise ValueError(
              "Unrecognised experiment={}".format(experiment)
          )
  
      # Defines all relevant paths
      if root_folder is None:
          root_folder = os.path.join(
              os.path.dirname(os.path.realpath(__file__)),
              "..",
              "outputs",
          )
          print("Using root folder {}".format(root_folder))
  
      self.root_folder = root_folder
      self.experiment = experiment
      self.data_folder = os.path.join(root_folder, "data", experiment)
      self.model_folder = os.path.join(
          root_folder, "saved_models", experiment
      )
      self.results_folder = os.path.join(
          root_folder, "results", experiment
      )
  
      # Creates folders if they don't exist
      for relevant_directory in [
          self.root_folder,
          self.data_folder,
          self.model_folder,
          self.results_folder,
      ]:
          if not os.path.exists(relevant_directory):
              os.makedirs(relevant_directory)
  
imports: import os
  import data_formatters.qlib_Alpha158
label_desc: Use image node_id 1 to create a new ExperimentConfig object  with example: obj = ExperimentConfig(experiment, root_folder)