code: def _Horner_evaluate(x, coef):
      """
      Evaluates the value of a polynomial according to Horner's method.
      """
      # https://en.wikipedia.org/wiki/Horner%27s_method
      n = len(coef) - 1
      b = coef[n]
      for i in range(n - 1, -1, -1):
          b = coef[i] + b * x
      return b
  
imports: import numbers
  from pyro.contrib.gp.parameterized import Parameterized
label_desc: Use image node_id 1 for calling a global function with example usage: _Horner_evaluate(x, coef) and returns: b