dflemin3 / approxposterior

A Python package for approximate Bayesian inference and optimization using Gaussian processes
https://dflemin3.github.io/approxposterior/
MIT License
41 stars 9 forks source link

allow args, kwargs in likelihood wrapper functions #11

Closed dflemin3 closed 6 years ago

dflemin3 commented 6 years ago

User-defined loglikelihood functions should be able to accept args and kwargs. Typically, users want to compare model predictions to observed data in their likelihood functions, perhaps using a chi-squared metric, or something similar. A user could pass in the data via an arg or kwarg, so this functionality should be implemented.

dflemin3 commented 6 years ago

Implemented.