code: def dlow_bernoulli(p, level):
      um = p
      lm = max(min(1, p - np.sqrt(level / 2.0)), 0)
      qm = (um + lm) / 2.0
      #         print 'lm', lm, 'qm', qm, kl_bernoulli(p, qm)
      if AnchorBaseBeam.kl_bernoulli(p, qm) > level:
          lm = qm
      else:
          um = qm
      return lm
  
file_path: anchor/anchor/anchor_base.py
imports: from __future__ import print_function
  import numpy
  import operator
  import copy
  import sklearn
  import collections
label_desc: Use image node_id 4 for calling the AnchorBaseBeam obj's underlying member method code with example usage: obj.dlow_bernoulli(p, level) and returns: lm