code: def test_latent_inv():
      ps, py, inv = get_latent_py_ps_inv()
      inv2 = latent_algebra.compute_inv_noise_matrix(py, nm)
      assert np.all(abs(inv - inv2) < 1e-3)
  
file_path: cleanlab/tests/test_latent_algebra.py
imports: from cleanlab.internal import latent_algebra
  import numpy
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_latent_inv() without return types