class_docstr: Base class for ranking models.
  
  Parameters
  ----------
  seed
      Random number generation seed. Set this for reproducibility.
class_docstr_tok: ["Base","class","for","ranking","models",".","Parameters","--","--","--","--","--","seed","Random","number","generation","seed",".","Set","this","for","reproducibility","."]
code: def __init__(self, seed: int | None = None):
      self.seed = seed
      self._rng = random.Random(seed)
  
file_path: river/river/reco/base.py
imports: from __future__ import annotations
  import abc
  import numbers
  import random
  import typing
  from river import base
label_desc: Use image node_id 1 to create a new Ranker object from inherited base classes: base with example: obj = Ranker(seed)