NumFOCUS Retweeted Junpeng Lao 🏠 🇨🇭
NumFOCUS added,
Junpeng Lao 🏠 🇨🇭 @junpenglao
Another day, another fun time with #pymc3, let's do this:
First define a banana function (Rosenbrock)
import matplotlib.pylab as plt
from mpl_toolkits import mplot3d
import numpy as np
import pymc3 as pm
def cust_logp(z):
return -(1.-z[0])**2 - 100.*(z[1] - z[0]**2)**2
Show this thread
0 replies
1 retweet
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.