PYMC3LogLikeWrapper

class pyapprox.bayesian_inference.markov_chain_monte_carlo.PYMC3LogLikeWrapper(loglike, loglike_grad=None)[source]

Bases: object

Turn pyapprox model in to one which can be used by PYMC3. Main difference is that PYMC3 often passes 1d arrays where as Pyapprox assumes 2d arrays.

Methods Summary

__call__(x)

Call self as a function.

gradient(x)

Methods Documentation

__call__(x)[source]

Call self as a function.

gradient(x)[source]