Skip to content

Commit

Permalink
Merge pull request #134 from st-tech/update-version
Browse files Browse the repository at this point in the history
Update version to 0.5.0
  • Loading branch information
usaito authored Sep 7, 2021
2 parents 867eebe + 16c7d1c commit dee1752
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 87 deletions.
2 changes: 1 addition & 1 deletion benchmark/ope/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ numpy = "^1.21.1"
matplotlib = "^3.4.2"
hydra-core = "^1.1.0"
pingouin = "^0.4.0"
obp = "^0.4.2"
pyieoe = "^0.1.0"
obp = "^0.5.0"
```

## Files
Expand Down
42 changes: 21 additions & 21 deletions benchmark/ope/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions benchmark/ope/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "benchmark/ope"
version = "0.1.0"
description = ""
description = "benchmarking OPE estimators on Open Bandit Dataset"
authors = ["usaito <[email protected]>"]

[tool.poetry.dependencies]
Expand All @@ -12,8 +12,8 @@ numpy = "^1.21.1"
matplotlib = "^3.4.2"
hydra-core = "^1.1.0"
pingouin = "^0.4.0"
obp = "^0.4.2"
pyieoe = "^0.1.0"
obp = "^0.5.0"

[tool.poetry.dev-dependencies]
flake8 = "^3.9.2"
Expand Down
53 changes: 26 additions & 27 deletions examples/quickstart/multiclass.ipynb

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions examples/quickstart/obd.ipynb

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions examples/quickstart/opl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"output_type": "stream",
"name": "stdout",
"text": [
"0.4.1\n"
"0.5.0\n"
]
}
],
Expand Down Expand Up @@ -261,8 +261,8 @@
"output_type": "stream",
"name": "stderr",
"text": [
"q-func learning: 100%|██████████| 200/200 [00:17<00:00, 11.26it/s]\n",
"policy learning: 100%|██████████| 200/200 [00:44<00:00, 4.50it/s]\n"
"q-func learning: 100%|██████████| 200/200 [00:16<00:00, 11.99it/s]\n",
"policy learning: 100%|██████████| 200/200 [00:40<00:00, 4.93it/s]\n"
]
}
],
Expand Down Expand Up @@ -299,7 +299,7 @@
"output_type": "stream",
"name": "stderr",
"text": [
"policy learning: 100%|██████████| 200/200 [00:43<00:00, 4.56it/s]\n"
"policy learning: 100%|██████████| 200/200 [00:36<00:00, 5.50it/s]\n"
]
}
],
Expand Down Expand Up @@ -336,8 +336,8 @@
"output_type": "stream",
"name": "stderr",
"text": [
"q-func learning: 100%|██████████| 200/200 [00:19<00:00, 10.32it/s]\n",
"policy learning: 100%|██████████| 200/200 [01:03<00:00, 3.14it/s]\n"
"q-func learning: 100%|██████████| 200/200 [00:15<00:00, 12.70it/s]\n",
"policy learning: 100%|██████████| 200/200 [00:51<00:00, 3.85it/s]\n"
]
}
],
Expand Down Expand Up @@ -498,9 +498,9 @@
"output_type": "stream",
"name": "stdout",
"text": [
"policy value of NN Policy Learner with DM: 0.7404435523322302\n",
"policy value of NN Policy Learner with IPW: 0.7212317939160037\n",
"policy value of NN Policy Learner with DR: 0.7236077796319849\n",
"policy value of NN Policy Learner with DM: 0.7401610285643739\n",
"policy value of NN Policy Learner with IPW: 0.7219954182377301\n",
"policy value of NN Policy Learner with DR: 0.7239531174451277\n",
"policy value of IPW Learner with Logistic Regression: 0.7225216225722526\n",
"policy value of IPW Learner with Random Forest: 0.6826465969408197\n",
"policy value of Unifrom Random: 0.6056038101021686\n"
Expand Down Expand Up @@ -538,7 +538,7 @@
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3.9.5 64-bit ('zr-obp': pyenv)"
"display_name": "Python 3.9.5 64-bit ('3.9.5': pyenv)"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -553,7 +553,7 @@
"version": "3.9.5"
},
"interpreter": {
"hash": "64b446a4e17784c2dc3dbe74bf0708929a003fb4822b30671d57ebdef413b716"
"hash": "2ff39f3b22306140fd87fd114528320b56c4f8c8e196b421a3ea939a2b6b4692"
}
},
"nbformat": 4,
Expand Down
32 changes: 16 additions & 16 deletions examples/quickstart/synthetic.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion obp/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.1"
__version__ = "0.5.0"

0 comments on commit dee1752

Please sign in to comment.