Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a method to visualize the policy values of multiple policies #103

Merged
merged 3 commits into from
Jun 6, 2021

Conversation

Kurorororo
Copy link
Contributor

@Kurorororo Kurorororo commented May 30, 2021

I implement a method to visualize the policy values of multiple policies.

When you do the following in examples/quickstart/synthetic.ipynb,

ope.visualize_off_policy_estimates_of_multiple_policies(
    policy_name_list=["IPW LR", "IPW RF", "Random"],
    action_dist_list=[action_dist_ipw_lr, action_dist_ipw_rf, action_dist_random],
    estimated_rewards_by_reg_model=estimated_rewards_by_reg_model,
    n_bootstrap_samples=100, # number of resampling performed in the bootstrap procedure
    random_state=12345,
)

multiple-policy-values

@Kurorororo Kurorororo changed the title add OffPolicyEvaluation.visualaze_off_policy_estimates_of_multiple_policies [WIP] add OffPolicyEvaluation.visualaze_off_policy_estimates_of_multiple_policies May 30, 2021
@Kurorororo Kurorororo marked this pull request as draft May 30, 2021 11:06
@Kurorororo Kurorororo changed the title [WIP] add OffPolicyEvaluation.visualaze_off_policy_estimates_of_multiple_policies Add a method to visualize the policy values of multiple policies May 30, 2021
@Kurorororo Kurorororo marked this pull request as ready for review May 30, 2021 11:39
@usaito
Copy link
Contributor

usaito commented Jun 6, 2021

@Kurorororo Thanks!

@usaito usaito merged commit 21d3edf into st-tech:master Jun 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants