code: def __init__(self, seed, buffer_size):
      super().__init__()
      self.seed = seed
      self.buffer_size = buffer_size
  
      self.threshold = None
      self.stats = None
  
      self._rng = random.Random(self.seed)
      self._buffer = []
  
file_path: river/river/tree/splitter/random_splitter.py
imports: from __future__ import annotations
  import abc
  import random
  import sys
  from river import stats
  from river.tree.splitter import Splitter
  from river.tree.utils import BranchFactory
label_desc: Use image node_id 1 to create a new RandomSplitter object from inherited base classes: Splitter with example: obj = RandomSplitter(seed, buffer_size)