traceis the result of the Monte Carlo Markov chain process (MCMC). It converges to the distribution (for example, persuasion) of your parameters, given the data.
You can view the trace using:
pymc3.traceplot(trace, vars=['alpha', 'beta', 'sigma'])

, - :
import matplotlib.pyplot as plt
a = trace['alpha']
b = trace['beta']
x = np.linspace(0,1,N)
fig = plt.figure(figsize=(12,4))
ax = fig.add_subplot(1,2,1)
plt.scatter(X,Y, color='g', alpha=0.3)
for i in xrange(500):
y = a[i] + b[i] * x
plt.plot(x, y, 'b', alpha=0.02)
ax = fig.add_subplot(1,2,2)
for i in xrange(500):
y = a[i] + b[i] * x
plt.plot(x, y, 'b', alpha=0.02)
plt.show()

. , :
from scipy import optimize