acerbilab / pybads

PyBADS: Bayesian Adaptive Direct Search optimization algorithm for model fitting in Python
https://acerbilab.github.io/pybads/
BSD 3-Clause "New" or "Revised" License
67 stars 2 forks source link

Specifying custom data #34

Closed ozika closed 1 year ago

ozika commented 1 year ago

Hi! first, congrats on porting this from Matlab!
I am just wondering how can one pass custom data to the objective function. In the docs, I don't seem to be able to find an option for that. Thank you!

GurjeetSinghSangra commented 1 year ago

Hello!

Thanks for the feedback! We already answered this question in the following closed issue. We also provided an example in the explanation.

We will add a description of this case in the documentation too, to make it more explicit for users. Soon we will also add a better feature for handling this case in the coming version in a more neat way.

ozika commented 1 year ago

Thanks! That's great :)