code: def test_inv_link_monoclassification_nan():
      scores = np.array([np.nan])
      expected = np.array([[np.nan]])
      result = inv_link(scores, "monoclassification")
      np.testing.assert_almost_equal(result, expected)
  
imports: import numpy
  import pytest
  from interpret.utils import link_func, inv_link
label_desc: Use image node_id 29 for calling a global function with example usage: test_inv_link_monoclassification_nan() without return types