code: def test_RegressionEvaluation__repack_parameters(
      train_present, val_present, test_present, expected
  ):
      s = {}
      if train_present:
          s["y_true_train"] = "true_train"
          s["y_pred_train"] = "pred_train"
      if val_present:
          s["y_true_val"] = "true_val"
          s["y_pred_val"] = "pred_val"
      if test_present:
          s["y_true_test"] = "true_test"
          s["y_pred_test"] = "pred_test"
  
      state = AnalysisState(model_evaluation=s)
      assert (
          RegressionEvaluation._repack_parameters(
              state.model_evaluation
          )
          == expected
      )
  
file_path: autogluon/eda/tests/unittests/visualization/test_model.py
imports: from unittest.mock import ANY, MagicMock
  import matplotlib.pyplot
  import numpy
  import pandas
  import pytest
  import seaborn
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import ConfusionMatrix, FeatureImportance, ModelLeaderboard, RegressionEvaluation
label_desc: Use image node_id 4 for calling a global function with example usage: test_RegressionEvaluation__repack_parameters(train_present, val_present, test_present, expected) without return types