class_docstr: Creates a new kernel according to
  
      :math:`k_{new}(x, z) = f(x)k(x, z)f(z),`
  
  where :math:`f` is a function.
  
  :param callable vscaling_fn: A vertical scaling function :math:`f`.
code: def __init__(self, kern, vscaling_fn):
      super().__init__(kern)
  
      self.vscaling_fn = vscaling_fn
  
imports: import numbers
  from pyro.contrib.gp.parameterized import Parameterized
label_desc: Use image node_id 1 to create a new VerticalScaling object from inherited base classes: Transforming with example: obj = VerticalScaling(kern, vscaling_fn)