code: def sample(self):
      return (random.random() < prob for prob in self.prob_vector)
  
file_path: deap/examples/eda/pbil.py
imports: import array
  import random
  import numpy
  from deap import algorithms
  from deap import base
  from deap import creator
  from deap import tools
label_desc: Use image node_id 2 for calling the PBIL obj's underlying member method code with example usage: obj.sample() and returns: unknown