code: def get_random_matrix(*, n_rows=500, n_cols=100):
      """
      Generates a random matrix with uniformly distributed
      numbers between 0 and 1 for testing puposes.
      """
  
      if n_rows == 0:
          sz = (n_cols,)
      elif n_cols == 0:
          sz = (n_rows,)
      else:
          sz = (n_rows, n_cols)
  
      return np.random.random(size=sz)
  
file_path: alibi/alibi/explainers/tests/utils.py
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: get_random_matrix() and returns: np