code: def testRegression(self):
      # got values from before the switch from crossCorrelation to autoCorrelation
      inputData = [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          9,
          8,
          7,
          6,
          5,
          4,
          3,
          2,
          1,
      ]
      coeffs = [
          1.0,
          -1.7860189676,
          0.7943785787,
          -0.0000018278,
          0.0000157348,
          -0.0000236177,
          0.0000142327,
          0.0000024615,
          -0.0000063489,
          0.1693837941,
          -0.1610202342,
      ]
      reflection = [
          0.9850746393,
          -0.8639101982,
          -0.0128436843,
          0.0014869192,
          0.0185417943,
          0.0385499857,
          0.061892774,
          0.0891031325,
          0.1213476434,
          0.1610202342,
      ]
  
      c, r = LPC(order=10)(inputData)
  
      # we need to test the absolute value here, not the relative one (well,
      # actually it needs to be relative to the first coeff, which is 1...)
      self.assertAlmostEqualVector(c - array(coeffs), zeros(11), 1e-3)
      self.assertAlmostEqualVector(
          r - array(reflection), zeros(10), 1e-3
      )
  
file_path: essentia/test/src/unittests/temporal/test_lpc.py
imports: from essentia_test import *
label_desc: Use image node_id 2 for calling the TestLPC obj's underlying member method code with example usage: obj.testRegression() without return types