code: def test_link_func_monoclassification_empty():
      # this breaks our rule of needing the last dimesion, but the intent is unambiguous
      predictions = np.array(1.0)
      expected = -np.inf
      result = link_func(predictions, "monoclassification")
      assert result == expected
  
imports: import numpy
  import pytest
  from interpret.utils import link_func, inv_link
label_desc: Use image node_id 10 for calling a global function with example usage: test_link_func_monoclassification_empty() without return types