class_docstr: Base leaf class to be used in Hoeffding Trees.
  
  Parameters
  ----------
  stats
      Target statistics (they differ in classification and regression tasks).
  depth
      The depth of the node
  splitter
      The numeric attribute observer algorithm used to monitor target statistics
      and perform split attempts.
  attributes
      Other parameters passed to the learning node.
code: def __init__(self, stats, depth, splitter, **kwargs):
      super().__init__(**kwargs)
      self.stats = stats
      self.depth = depth
  
      self.splitter = splitter
  
      self.splitters = {}
      self._disabled_attrs = set()
      self._last_split_attempt_at = self.total_weight
  
imports: from __future__ import annotations
  import abc
  import numbers
  import typing
  from ..base import Leaf
  from ..utils import BranchFactory
label_desc: Use image node_id 1 to create a new HTLeaf object from inherited base classes: Leaf, abc with example: obj = HTLeaf(stats, depth, splitter)