code: def __init__(self, classifier, seed: int | None = None):
      self.classifier = classifier
      self.seed = seed
      self._rng = random.Random(seed)
  
imports: from __future__ import annotations
  import collections
  import random
  import typing
  from river import base, utils
label_desc: Use image node_id 1 to create a new ClassificationSampler object from inherited base classes: base, base with example: obj = ClassificationSampler(classifier, seed)