code: def __init__(self, h=1.0):
      CustomKernel.__init__(
          self,
          shape=lambda x: 1 - abs(x),
          h=h,
          domain=[-1.0, 1.0],
          norm=1.0,
      )
      self._L2Norm = 2.0 / 3.0
      self._kernel_var = 1.0 / 6
      self._order = 2
  
imports: from statsmodels.compat.python import lzip, lfilter
  import numpy
  import scipy.integrate
  from scipy.special import factorial
  from numpy import exp, multiply, square, divide, subtract, inf
label_desc: Use image node_id 1 to create a new Triangular object from inherited base classes: CustomKernel with example: obj = Triangular(h)