-
Notifications
You must be signed in to change notification settings - Fork 29
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
added obp_evaluation #58
Conversation
return df1.join(df2) | ||
|
||
@dataclass | ||
class RePlayOfflinePolicyLearner(BaseOfflinePolicyLearner): |
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.
Why don't you inherit RePlayOfflinePolicyLearner
from both BaseOfflinePolicyLearner
and BaseRecommender
?
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.
I can't see if it simplifies the overall logic. I see that it helps to remove logger()
function, but it seems that I should hold replay_model
inside class anyway. Can you comment more on that?
Add BayesUCB to DDPG and accelerated the speed of learning See merge request ai-lab-pmo/mltools/recsys/RePlay!94
[CI] Running CI in CI_DEFAULT_BRANCH and publish dev packages See merge request ai-lab-pmo/mltools/recsys/RePlay!103
Fix package registry path See merge request ai-lab-pmo/mltools/recsys/RePlay!104
Move some functionality to experimental part See merge request ai-lab-pmo/mltools/recsys/RePlay!93
Add dataset functionality See merge request ai-lab-pmo/mltools/recsys/RePlay!102
[Feature] Building experimental package See merge request ai-lab-pmo/mltools/recsys/RePlay!108
Add new splitters See merge request ai-lab-pmo/mltools/recsys/RePlay!105
Feature/add new preprocessing See merge request ai-lab-pmo/mltools/recsys/RePlay!111
Update metrics interfaces See merge request ai-lab-pmo/mltools/recsys/RePlay!112
Fix metrics See merge request ai-lab-pmo/mltools/recsys/RePlay!114
Update models interfaces for Dataset concept See merge request ai-lab-pmo/mltools/recsys/RePlay!109
Dependencies updates See merge request ai-lab-pmo/mltools/recsys/RePlay!113
Pyspark - optional dependency See merge request ai-lab-pmo/mltools/recsys/RePlay!116
Add cardinality callback for data nn interfaces See merge request ai-lab-pmo/mltools/recsys/RePlay!140
Change naming of SasRec modules See merge request ai-lab-pmo/mltools/recsys/RePlay!141
Update main branch version to 0.15.1 See merge request ai-lab-pmo/mltools/recsys/RePlay!143
Little fixes in ReadMe See merge request ai-lab-pmo/mltools/recsys/RePlay!144
Add KL-UCB See merge request ai-lab-pmo/mltools/recsys/RePlay!136
7e10f7e
to
1e29473
Compare
Added OBP evaluation for cold start models from RePlay. Docs and tests are available but will be further improved. Evaluation is done using class RePlayOfflinePolicyLearner with methods fit, predict and optimize with similar logic as in RePlay. Also script file and config are available for easy run and evaluation of RePlay models on OpenBanditDataset.
To run, for example, UCB algorithm on bts policy you can follow this:
python run_real.py --config=config.py:ucb --config.behavior_policy=bts