code: def __init__(self, seed, buffer_size):
      super().__init__(seed, buffer_size)
      self.stats = {0: stats.Var(), 1: stats.Var()}
  
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 RegRandomSplitter object from inherited base classes: RandomSplitter with example: obj = RegRandomSplitter(seed, buffer_size)