code: def setUpTwoExperiment(self, a_params=None, b_params=None):
      temp_dir_obj = TemporaryDirectory()
      test_checkpoints_path_a = os.path.join(
          temp_dir_obj.name, "expt_a"
      )
      test_checkpoints_path_b = os.path.join(
          temp_dir_obj.name, "expt_b"
      )
  
      if a_params is None:
          a_params = {}
  
      self.test_experiment_a = Experiment(
          test_checkpoints_path_a, nn.Linear(1, 1), **a_params
      )
  
      if b_params is None:
          b_params = {}
  
      self.test_experiment_b = Experiment(
          test_checkpoints_path_b, nn.Linear(1, 1), **b_params
      )
  
file_path: poutyne/tests/framework/experiment/test_is_better_than.py
imports: import os
  from tempfile import TemporaryDirectory
  from unittest import TestCase
  from unittest.mock import MagicMock, patch
  import pandas
  from torch import nn
  from poutyne import Experiment, ModelBundle
label_desc: Use image node_id 1 for calling the ExperimentIsBetterThanTest obj's underlying member method code with example usage: obj.setUpTwoExperiment(a_params, b_params) without return types