code: def run(n_samples=3000):
      model = build_model()
      with model:
          trace = pm.sample(n_samples)
      return trace
  
imports: import numpy
  import theano.tensor
  import pymc3
label_desc: Use image node_id 3 for calling a global function with example usage: run(n_samples) and returns: trace