code: def clamp_proba(x: float) -> float:
      return utils.math.clamp(x=x, minimum=1e-15, maximum=1 - 1e-15)
  
imports: from __future__ import annotations
  import math
  import numpy
  from scipy import special
  from river import base, utils
  from river.optim.base import Loss
label_desc: Use image node_id 1 for calling a global function with example usage: clamp_proba(x) and returns: utils