code: def test_input_nonbinary():
      y_target = np.array([0, 0, 0, 0, 0, 2, 2, 3, 3, 3])
      y_model1 = np.array([0, 1, 0, 0, 0, 2, 2, 1, 1, 1])
      y_model2 = np.array([0, 0, 1, 1, 0, 2, 2, 0, 1, 0])
      y_model3 = np.array([0, 1, 1, 0, 0, 2, 2, 0, 1, 1])
      tb = mcnemar_tables(y_target, y_model1, y_model2, y_model3)
  
      expect1 = np.array([[4, 2], [1, 3]])
  
      expect2 = np.array([[5, 1], [0, 4]])
  
      expect3 = np.array([[4, 1], [1, 4]])
  
      assert len(tb) == 3
      np.testing.assert_array_equal(tb["model_0 vs model_1"], expect1)
      np.testing.assert_array_equal(tb["model_0 vs model_2"], expect2)
      np.testing.assert_array_equal(tb["model_1 vs model_2"], expect3)
  
file_path: mlxtend/mlxtend/evaluate/tests/test_mcnemar_tables.py
imports: import numpy
  from mlxtend.evaluate import mcnemar_tables
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_input_nonbinary() without return types