OHDSI / bayes-bridge

Bayesian sparse regression with regularized shrinkage and conjugate gradient acceleration
https://bayes-bridge.readthedocs.io/en/latest/
18 stars 7 forks source link

Standardize testing helper functions #10

Open chinandrew opened 2 years ago

chinandrew commented 2 years ago

There's some helper functions in tests/helper.py, tests/derivate_tester.py, and tests/regression_tests/gibb.py. Some, like the simulate data function in helper.py and gibb.py, might be able to be merged together. Low priority for now, but as more tests get added it's something to keep an eye on.