code: def test_compute_numerical_labels(self):
      preds = np.array([1, 2.1, 3.2, -2, 1e10, 0])
      truths = np.array([1, 2, 3, 4, 5, 0])
      bounds = [0.5, 1.5]
  
      labels = Normalizer.compute_numerical_labels(
          preds, truths, bounds
      )
      self.assertTrue(np.min(labels) >= bounds[0])
      self.assertTrue(np.max(labels) <= bounds[1])
      self.assertFalse(np.isnan(labels).any())
      self.assertFalse(np.isinf(labels).any())
  
imports: import unittest
  import numpy
  from lightwood.analysis.nc.norm import Normalizer
label_desc: Use image node_id 1 for calling the TestNcNormalizer obj's underlying member method code with example usage: obj.test_compute_numerical_labels() without return types