code: def get_indicators(N, M, prob_std=0.5):
      ind = np.random.binomial(1, prob_std, (N, M))
      return ind
  
file_path: edward/examples/probabilistic_matrix_factorization.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward
  import matplotlib.pyplot
  import numpy
  import tensorflow
  from edward.models import Normal
label_desc: Use image node_id 2 for calling a global function with example usage: get_indicators(N, M, prob_std) and returns: ind