class_docstr: Sample parameters search space
  
  With given probability ``probability``, it will sample a new set of parameters
  from the search space totally independently of the ``parameters`` passed to ``__call__``.
  Otherwise, it will return the passed ``parameters``.
  
  Parameters
  ----------
  probability: float, optional
      Probability of sampling a new set of parameters. Default: 0.2
code: def __init__(self, probability=0.2):
      self.probability = probability
  
imports: import numpy
  from orion.core.utils import GenericFactory
  from orion.core.utils.flatten import flatten, unflatten
label_desc: Use image node_id 1 to create a new ResampleExplore object from inherited base classes: BaseExplore with example: obj = ResampleExplore(probability)