class_docstr: Interleave a random configuration according to a given probability.
  
  Parameters
  ----------
  probability : float
      Probability that a configuration will be drawn at random.
  seed : int, defaults to 0
      Integer used to initialize the random state.
class_docstr_tok: ["Interleave","a","random","configuration","according","to","a","given","probability",".","Parameters","--","--","--","--","--","probability",":","float","Probability","that","a","configuration","will","be","drawn","at","random",".","seed",":","int",",","defaults","to","0","Integer","used","to","initialize","the","random","state","."]
code: def __init__(self, probability: float, seed: int = 0):
      super().__init__(seed=seed)
      assert 0 <= probability <= 1
      self._probability = probability
  
file_path: SMAC3/smac/random_design/probability_design.py
imports: from __future__ import annotations
  from typing import Any
  from smac.random_design.abstract_random_design import AbstractRandomDesign
  from smac.utils.logging import get_logger
label_desc: Use image node_id 1 to create a new ProbabilityRandomDesign object from inherited base classes: AbstractRandomDesign with example: obj = ProbabilityRandomDesign(probability, seed)