Skip to content

Commit e03d242

Browse files
authored
Feature/lingreedy (#52)
1 parent 27f1637 commit e03d242

27 files changed

+1080
-171
lines changed

CHANGELOG.txt

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
MABWiser CHANGELOG
33
=====================
44

5+
March, 8, 2022 2.3.0
6+
-------------------------------------------------------------------------------
7+
major:
8+
- New Algorithm: LinGreedy as a learning policy.
9+
- Thanks to Yevgeny Popkov for suggesting this algorithm.
10+
511
-------------------------------------------------------------------------------
612
March, 2, 2022 2.2.0
713
-------------------------------------------------------------------------------

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ mab.predict()
3636

3737
Available Learning Policies:
3838
* Epsilon Greedy [1, 2]
39+
* LinGreedy [1, 2]
3940
* LinTS [3]
4041
* LinUCB [4]
4142
* Popularity [2]

docs/.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 0c40804aec5172c7d3aad80d6f786052
3+
config: be8d7ae06467e3a22a202d69cb2b24ab
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_sources/index.rst.txt

+21-20
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Available Bandit Policies
5656
Available Learning Policies:
5757

5858
* Epsilon Greedy
59+
* LinGreedy
5960
* LinTS
6061
* LinUCB
6162
* Popularity
@@ -81,32 +82,32 @@ Citation
8182
========
8283
You can cite MABWiser as:
8384

84-
* **[IJAIT 2021]** [E. Strong, B. Kleynhans, and S. Kadioglu, "MABWiser: Parallelizable Contextual Multi-Armed Bandits"](https://www.worldscientific.com/doi/abs/10.1142/S0218213021500214)
85-
* **[ICTAI 2019]** [E. Strong, B. Kleynhans, and S. Kadioglu, "MABWiser: A Parallelizable Contextual Multi-Armed Bandit Library for Python"](https://ieeexplore.ieee.org/document/8995418)
85+
* **[IJAIT 2021]** `E. Strong, B. Kleynhans, and S. Kadioglu, "MABWiser: Parallelizable Contextual Multi-Armed Bandits" <https://www.worldscientific.com/doi/abs/10.1142/S0218213021500214>`_
86+
* **[ICTAI 2019]** `E. Strong, B. Kleynhans, and S. Kadioglu, "MABWiser: A Parallelizable Contextual Multi-Armed Bandit Library for Python" <https://ieeexplore.ieee.org/document/8995418>`_
8687

8788
.. code-block:: bibtex
8889
89-
@article{DBLP:journals/ijait/StrongKK21,
90-
author = {Emily Strong and Bernard Kleynhans and Serdar Kadioglu},
91-
title = {{MABWiser:} Parallelizable Contextual Multi-armed Bandits},
92-
journal = {Int. J. Artif. Intell. Tools},
93-
volume = {30},
94-
number = {4},
95-
pages = {2150021:1--2150021:19},
96-
year = {2021},
97-
url = {https://doi.org/10.1142/S0218213021500214},
98-
doi = {10.1142/S0218213021500214},
90+
@article{DBLP:journals/ijait/StrongKK21,
91+
author = {Emily Strong and Bernard Kleynhans and Serdar Kadioglu},
92+
title = {{MABWiser:} Parallelizable Contextual Multi-armed Bandits},
93+
journal = {Int. J. Artif. Intell. Tools},
94+
volume = {30},
95+
number = {4},
96+
pages = {2150021:1--2150021:19},
97+
year = {2021},
98+
url = {https://doi.org/10.1142/S0218213021500214},
99+
doi = {10.1142/S0218213021500214},
99100
}
100101
101102
@inproceedings{DBLP:conf/ictai/StrongKK19,
102-
author = {Emily Strong and Bernard Kleynhans and Serdar Kadioglu},
103-
title = {MABWiser: {A} Parallelizable Contextual Multi-Armed Bandit Library for Python},
104-
booktitle = {31st {IEEE} International Conference on Tools with Artificial Intelligence, {ICTAI} 2019, Portland, OR, USA, November 4-6, 2019},
105-
pages = {909--914},
106-
publisher = {{IEEE}},
107-
year = {2019},
108-
url = {https://doi.org/10.1109/ICTAI.2019.00129},
109-
doi = {10.1109/ICTAI.2019.00129},
103+
author = {Emily Strong and Bernard Kleynhans and Serdar Kadioglu},
104+
title = {MABWiser: {A} Parallelizable Contextual Multi-Armed Bandit Library for Python},
105+
booktitle = {31st {IEEE} International Conference on Tools with Artificial Intelligence, {ICTAI} 2019, Portland, OR, USA, November 4-6, 2019},
106+
pages = {909--914},
107+
publisher = {{IEEE}},
108+
year = {2019},
109+
url = {https://doi.org/10.1109/ICTAI.2019.00129},
110+
doi = {10.1109/ICTAI.2019.00129},
110111
}
111112
112113

docs/_sources/new_bandit.rst.txt

+2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ Every test starts with the ``test_`` prefix followed by some descriptive name.
274274
To strengthen your test suite, consider other unittests with different number of arms,
275275
decisions and rewards to assert that your bandit behaves correctly.
276276

277+
Add corresponding unittests in ``test_invalid.py`` to validate the parameters that are passed to your ``_MyCoolPolicy`` class.
278+
277279
**Congratulations!!** You are now ready to share your new cool policy with everyone. Next, let's send a pull request for code review.
278280

279281
4. Sending a Pull Request

docs/_static/documentation_options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '2.2.0',
3+
VERSION: '2.3.0',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>About Multi-Armed Bandits &mdash; MABWiser 2.2.0 documentation</title>
7+
<title>About Multi-Armed Bandits &mdash; MABWiser 2.3.0 documentation</title>
88
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
99
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
1010
<!--[if lt IE 9]>

0 commit comments

Comments
 (0)