code: def test_test_getMeanIoUMissing(self):
      matrix = np.asarray([[1, 1, 0], [0, 1, 0], [0, 0, 0]])
      confusion = ConfusionMatrix.create_from_matrix(matrix)
      self.assertAlmostEqual(
          confusion.get_average_intersection_union(
              missing_as_one=False
          ),
          (0.5 + 0.5) / 2,
      )
      self.assertAlmostEqual(
          confusion.get_average_intersection_union(missing_as_one=True),
          (0.5 + 1 + 0.5) / 3,
      )
  
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 6 for calling the TestConfusionMatrix obj's underlying member method code with example usage: obj.test_test_getMeanIoUMissing() without return types