class_docstr: Predefined generic distribution class to use for customization distribution.
  
  The class has four methods:
      - link: link function transforms the probability of response variable to a continuous scale that is unbounded
      - init: computes numerator and denominator of the initial value.
      - gradient: computes (Negative half) Gradient of deviance function at predicted value for an actual response
      - gamma: computes numerator and denominator of terminal node estimate
  
  For customization a loss function, the gradient and gamma methods are important.
  
  To customize a special type of problem we recommend you to inherit from predefined classes:
      - CustomDistributionGaussian - for regression problems
      - CustomDistributionBernoulli - for 2-class classification problems
      - CustomDistributionMultinomial - for n-class classification problems
docstr: Contribution for initial value computation (numerator and denominator).
  
  :param w: weight
  :param o: offset
  :param y: response
  :param l: class label (for multinomial classification only)
  :return: list [weighted contribution to init numerator,  weighted contribution to init denominator]
docstr_tok: ["Contribution","for","initial","value","computation","(","numerator","and","denominator",")",".",":","param","w",":","weight",":","param","o",":","offset",":","param","y",":","response",":","param","l",":","class","label","(","for","multinomial","classification","only",")",":","return",":","list","[","weighted","contribution","to","init","numerator",",","weighted","contribution","to","init","denominator","]"]
code: def init(self, w, o, y):
      """
      Contribution for initial value computation (numerator and denominator).
  
      :param w: weight
      :param o: offset
      :param y: response
      :param l: class label (for multinomial classification only)
      :return: list [weighted contribution to init numerator,  weighted contribution to init denominator]
      """
      return [0, 0]
  
label_desc: Use image node_id 2 for calling the CustomDistributionGeneric obj's underlying member method code with example usage: obj.init(w, o, y) and returns: list