-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add offline policy evaluation module and update dependencies #59
base: develop
Are you sure you want to change the base?
Conversation
41a0a84
to
b8ea4dd
Compare
b8ea4dd
to
cb05e5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, but my coding skills are not are your level. Just minor comments.
I would need a python notebook with an example to better understand how your new implementation works!
b117ef0
to
d5118c3
Compare
Mainly general comments, since I am using the library for a project:
|
2ba33e1
to
d4d0dfc
Compare
@j3rom3c, note that: |
0d618da
to
703e25a
Compare
97e8e51
to
c2d073f
Compare
92e979a
to
2f136be
Compare
### Changes * Introduced `offline_policy_evaluator.py` with classes for propensity score estimation and offline policy evaluation. * Introduced `offline_policy_estimator.py` with classes for offline policy estimation. * Updated `pyproject.toml` to include new dependencies: `bokeh` and `optuna`. Further adjusted existing dependencies to compatible versions and added python 3.12 support. * Changed .pre-commit-config.yaml to utilize nbstripout instead of nbdev_clean. * Added caching of dependencies on CI and CD. * Added class method to PyBanditsBaseModel on base.py to allow seeing default values for arguments that were not passed to the model. * Added test_offline_policy_evaluator.py and test_offline_policy_estimator.py as a test suite for the OfflinePolicyEvaluator. * Added `get_non_abstract_classes` and `visualize_via_bokeh` utility functions.
2f136be
to
74da683
Compare
Changes
offline_policy_evaluator.py
with classes for propensity score estimation and offline policy evaluation.offline_policy_estimator.py
with classes for offline policy estimation.pyproject.toml
to include new dependencies:bokeh
andoptuna
. Further adjusted existing dependencies to compatible versions and added python 3.12 support.get_non_abstract_classes
,visualize_via_bokeh
andin_jupyter_notebook
utility functions.