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

added obp_evaluation #58

Closed
wants to merge 90 commits into from

Conversation

levensons
Copy link

@levensons levensons commented Aug 9, 2023

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

return df1.join(df2)

@dataclass
class RePlayOfflinePolicyLearner(BaseOfflinePolicyLearner):
Copy link
Collaborator

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?

Copy link
Author

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?

shashist and others added 6 commits October 11, 2023 13:54
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
@shashist shashist changed the base branch from main to refactoring October 17, 2023 08:25
EgorBodrov and others added 21 commits October 20, 2023 10:30
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
@shashist shashist changed the base branch from main to refactoring January 24, 2024 12:28
@shashist shashist closed this Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants