code: def extract_param_tuning_iteration(
      iteration, tuning_log, base_extractor, model_learner_name
  ):
      iter_df = base_extractor(tuning_log[iteration]["validator_log"])
      return iter_df.assign(
          **tuning_log[iteration]["train_log"][model_learner_name][
              "parameters"
          ]
      )
  
imports: import collections.abc
  from datetime import datetime
  from itertools import chain, repeat
  import pandas
  from toolz import curry
  from numpy import nan
label_desc: Use image node_id 15 for calling a global function with example usage: extract_param_tuning_iteration(iteration, tuning_log, base_extractor, model_learner_name) and returns: iter_df