class_docstr: Leaf Node of the Stochastic Gradient Trees (SGT).
  
  There is only one type of leaf in SGTs. It handles only gradient and hessian
  information about the target. The tree handles target transformation and encoding.
  
  Parameters
  ----------
  prediction
      The initial prediction of the leaf.
  depth
      The depth of the leaf in the tree.
  split_params
      Parameters passed to the feature quantizers.
class_docstr_tok: ["Leaf","Node","of","the","Stochastic","Gradient","Trees","(","SGT",")",".","There","is","only","one","type","of","leaf","in","SGTs",".","It","handles","only","gradient","and","hessian","information","about","the","target",".","The","tree","handles","target","transformation","and","encoding",".","Parameters","--","--","--","--","--","prediction","The","initial","prediction","of","the","leaf",".","depth","The","depth","of","the","leaf","in","the","tree",".","split_params","Parameters","passed","to","the","feature","quantizers","."]
code: def __repr__(self):
      return str(self.prediction())
  
imports: from __future__ import annotations
  import collections
  import math
  import numbers
  import sys
  from collections.abc import Hashable
  from river import stats
  from river.base.typing import FeatureName
  from ..base import Leaf
  from ..splitter.sgt_quantizer import DynamicQuantizer, StaticQuantizer
  from ..utils import BranchFactory, GradHess, GradHessMerit, GradHessStats
  from .branch import NominalMultiwayBranch, NumericBinaryBranch
label_desc: Use image node_id 13 for calling the SGTLeaf obj's underlying member method code with example usage: obj.__repr__() and returns: str