class_docstr: Predefined distribution class for 2-class classification problems.
code: def exp(self, x):
      import java.lang.Math as Math
  
      max_exp = 1e19
      return Math.min(max_exp, Math.exp(x))
  
label_desc: Use image node_id 1 for calling the CustomDistributionBernoulli obj's underlying member method code with example usage: obj.exp(x) and returns: Math