code: def run_logistic_regression_loss_benchmark():
      result_dir = default_result_dir(base=BASE_FILE_NAME)
  
      for executable in iter_executables("logistic_regression_loss"):
          n_threads = [1, 2, 4, 6, 8]
          result_dir = run_benchmark(executable, n_threads, result_dir)
  
      return result_dir
  
imports: import os
  import matplotlib.pyplot
  import numpy
  import pandas
  from tools.benchmark.benchmark_util import iter_executables, run_benchmark, extract_build_from_name, default_result_dir, get_last_result_dir
label_desc: Use image node_id 1 for calling a global function with example usage: run_logistic_regression_loss_benchmark() and returns: result_dir