code: def test_getIoU(self):
      iou = self._confusion.get_intersection_union_per_class()[0]
      self.assertAlmostEqual(iou[0], 4 / (4.0 + 1.0 + 2.0))
      self.assertAlmostEqual(iou[1], 10 / (10.0 + 1.0 + 2.0))
  
file_path: torch-points3d/test/test_confusionMatrix.py
imports: import os
  import sys
  import numpy
  import unittest
  import tempfile
  import h5py
  import numpy.testing
  import numpy.matlib
  from torch_points3d.metrics.confusion_matrix import ConfusionMatrix
label_desc: Use image node_id 3 for calling the TestConfusionMatrix obj's underlying member method code with example usage: obj.test_getIoU() without return types