Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of extra arguments (e.g. from ini files) #106

Open
brendan-m-murphy opened this issue Apr 30, 2024 · 0 comments
Open

Improve handling of extra arguments (e.g. from ini files) #106

brendan-m-murphy opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@brendan-m-murphy
Copy link
Contributor

brendan-m-murphy commented Apr 30, 2024

Scikit learn has a system where keywords are prepended with the name of the function that they should be passed to.

We could probably implement this using the sections in the ini files. E.g. infer_pymc__nuts_sampler = "numpyro" would pass nuts_sampler = "numpyro" to infer_pymc, and the prefix could be added from the section via

[infer_pymc]
nuts_sampler = True

The existing system works, but we need to manually pass parameters to the right locations after they are given to fixedbasisMCMC.

@brendan-m-murphy brendan-m-murphy added the enhancement New feature or request label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant