code: def target_matrices(scope="module"):
      J1 = np.array(
          [[1.0, 0.0, 0.5], [0.0, 1.0, 0.33333], [0.5, 0.33333, 1.0]]
      )
      J2 = np.array(
          [
              [1.0, 0.0, 0.0, 0.2],
              [0.0, 1.0, 0.0, 0.0],
              [0.0, 0.0, 1.0, 0.5],
              [0.2, 0.0, 0.5, 1.0],
          ]
      )
      L1 = np.array(
          [[1.0, 0.0, 0.5], [0.0, 0.5, 0.25], [0.5, 0.25, 0.5]]
      )
      L2 = np.array(
          [
              [0.5, 0.0, 0.0, 0.125],
              [0.0, 0.33333, 0.0, 0.0],
              [0.0, 0.0, 0.5, 0.25],
              [0.125, 0.0, 0.25, 0.25],
          ]
      )
      return {
          "jaccard1": pytest.approx(J1, TOL),
          "jaccard2": pytest.approx(J2, TOL),
          "lift1": pytest.approx(L1, TOL),
          "lift2": pytest.approx(L2, TOL),
      }
  
file_path: recommenders/tests/unit/recommenders/utils/test_python_utils.py
imports: import pytest
  import numpy
  from recommenders.utils.python_utils import exponential_decay, jaccard, lift, get_top_k_scored_items, binarize, rescale
label_desc: Use image node_id 1 for calling a global function with example usage: target_matrices(scope) and returns: dict