Skip to content

Commit 044c5c8

Browse files
Vectorized Predict function for Linear Policies (#66)
1 parent 881d0e9 commit 044c5c8

20 files changed

+173
-164
lines changed

CHANGELOG.txt

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22
MABWiser CHANGELOG
33
=====================
44

5-
January, 24, 2022 2.6.0
5+
February, 07, 2023 2.7.0
6+
-------------------------------------------------------------------------------
7+
major:
8+
- Implement vectorized functions for Linear policies to speed-up prediction for multiple inputs.
9+
- Update tests for LinTS and LinGreedy Policies as a result of using global random seed in vectorized function
10+
11+
January, 24, 2023 2.6.0
612
-------------------------------------------------------------------------------
713
major:
814
- Implement tracking of warm started and partial fitted arms
915
- Implement tracking of cold arms
1016
- Limit warm start to learning policies
1117

12-
January, 19, 2022 2.5.0
18+
January, 19, 2023 2.5.0
1319
-------------------------------------------------------------------------------
1420
major:
1521
- Update warm start logic to only warm start an arm once

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.6.0',
3+
VERSION: '2.7.0',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/about.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>About Multi-Armed Bandits &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>About Multi-Armed Bandits &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="Installation" href="installation.html"/>
4545
<link rel="prev" title="MABWiser Contextual Multi-Armed Bandits" href="index.html"/>
4646

@@ -204,7 +204,7 @@
204204
<script type="text/javascript">
205205
var DOCUMENTATION_OPTIONS = {
206206
URL_ROOT:'./',
207-
VERSION:'2.6.0',
207+
VERSION:'2.7.0',
208208
COLLAPSE_INDEX:false,
209209
FILE_SUFFIX:'.html',
210210
HAS_SOURCE: true

docs/api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>MABWiser Public API &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>MABWiser Public API &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

docs/contributing.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Contributing &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>Contributing &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="Adding a New Bandit" href="new_bandit.html"/>
4545
<link rel="prev" title="Usage Examples" href="examples.html"/>
4646

@@ -192,7 +192,7 @@
192192
<script type="text/javascript">
193193
var DOCUMENTATION_OPTIONS = {
194194
URL_ROOT:'./',
195-
VERSION:'2.6.0',
195+
VERSION:'2.7.0',
196196
COLLAPSE_INDEX:false,
197197
FILE_SUFFIX:'.html',
198198
HAS_SOURCE: true

docs/examples.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Usage Examples &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>Usage Examples &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="Contributing" href="contributing.html"/>
4545
<link rel="prev" title="Quick Start" href="quick.html"/>
4646

@@ -547,7 +547,7 @@ <h2>Simulator<a class="headerlink" href="#simulator" title="Permalink to this he
547547
<script type="text/javascript">
548548
var DOCUMENTATION_OPTIONS = {
549549
URL_ROOT:'./',
550-
VERSION:'2.6.0',
550+
VERSION:'2.7.0',
551551
COLLAPSE_INDEX:false,
552552
FILE_SUFFIX:'.html',
553553
HAS_SOURCE: true

docs/genindex.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Index &mdash; MABWiser 2.6.0 documentation</title>
11+
<title>Index &mdash; MABWiser 2.7.0 documentation</title>
1212

1313

1414

@@ -39,7 +39,7 @@
3939
<link rel="index" title="Index"
4040
href="#"/>
4141
<link rel="search" title="Search" href="search.html"/>
42-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
42+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4343

4444

4545
<script src="_static/js/modernizr.min.js"></script>
@@ -629,7 +629,7 @@ <h2 id="W">W</h2>
629629
<script type="text/javascript">
630630
var DOCUMENTATION_OPTIONS = {
631631
URL_ROOT:'./',
632-
VERSION:'2.6.0',
632+
VERSION:'2.7.0',
633633
COLLAPSE_INDEX:false,
634634
FILE_SUFFIX:'.html',
635635
HAS_SOURCE: true

docs/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>MABWiser Contextual Multi-Armed Bandits &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>MABWiser Contextual Multi-Armed Bandits &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="#"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="#"/>
4444
<link rel="next" title="About Multi-Armed Bandits" href="about.html"/>
4545

4646

@@ -320,7 +320,7 @@ <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Pe
320320
<script type="text/javascript">
321321
var DOCUMENTATION_OPTIONS = {
322322
URL_ROOT:'./',
323-
VERSION:'2.6.0',
323+
VERSION:'2.7.0',
324324
COLLAPSE_INDEX:false,
325325
FILE_SUFFIX:'.html',
326326
HAS_SOURCE: true

docs/installation.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Installation &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>Installation &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="Quick Start" href="quick.html"/>
4545
<link rel="prev" title="About Multi-Armed Bandits" href="about.html"/>
4646

@@ -237,7 +237,7 @@ <h2>Upgrade the Library<a class="headerlink" href="#upgrade-the-library" title="
237237
<script type="text/javascript">
238238
var DOCUMENTATION_OPTIONS = {
239239
URL_ROOT:'./',
240-
VERSION:'2.6.0',
240+
VERSION:'2.7.0',
241241
COLLAPSE_INDEX:false,
242242
FILE_SUFFIX:'.html',
243243
HAS_SOURCE: true

docs/new_bandit.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Adding a New Bandit &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>Adding a New Bandit &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="MABWiser Public API" href="api.html"/>
4545
<link rel="prev" title="Contributing" href="contributing.html"/>
4646

@@ -468,7 +468,7 @@ <h2>4. Sending a Pull Request<a class="headerlink" href="#sending-a-pull-request
468468
<script type="text/javascript">
469469
var DOCUMENTATION_OPTIONS = {
470470
URL_ROOT:'./',
471-
VERSION:'2.6.0',
471+
VERSION:'2.7.0',
472472
COLLAPSE_INDEX:false,
473473
FILE_SUFFIX:'.html',
474474
HAS_SOURCE: true

docs/py-modindex.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Python Module Index &mdash; MABWiser 2.6.0 documentation</title>
11+
<title>Python Module Index &mdash; MABWiser 2.7.0 documentation</title>
1212

1313

1414

@@ -39,7 +39,7 @@
3939
<link rel="index" title="Index"
4040
href="genindex.html"/>
4141
<link rel="search" title="Search" href="search.html"/>
42-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
42+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4343

4444

4545

@@ -208,7 +208,7 @@ <h1>Python Module Index</h1>
208208
<script type="text/javascript">
209209
var DOCUMENTATION_OPTIONS = {
210210
URL_ROOT:'./',
211-
VERSION:'2.6.0',
211+
VERSION:'2.7.0',
212212
COLLAPSE_INDEX:false,
213213
FILE_SUFFIX:'.html',
214214
HAS_SOURCE: true

docs/quick.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Quick Start &mdash; MABWiser 2.6.0 documentation</title>
12+
<title>Quick Start &mdash; MABWiser 2.7.0 documentation</title>
1313

1414

1515

@@ -40,7 +40,7 @@
4040
<link rel="index" title="Index"
4141
href="genindex.html"/>
4242
<link rel="search" title="Search" href="search.html"/>
43-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
43+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4444
<link rel="next" title="Usage Examples" href="examples.html"/>
4545
<link rel="prev" title="Installation" href="installation.html"/>
4646

@@ -205,7 +205,7 @@
205205
<script type="text/javascript">
206206
var DOCUMENTATION_OPTIONS = {
207207
URL_ROOT:'./',
208-
VERSION:'2.6.0',
208+
VERSION:'2.7.0',
209209
COLLAPSE_INDEX:false,
210210
FILE_SUFFIX:'.html',
211211
HAS_SOURCE: true

docs/search.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Search &mdash; MABWiser 2.6.0 documentation</title>
11+
<title>Search &mdash; MABWiser 2.7.0 documentation</title>
1212

1313

1414

@@ -39,7 +39,7 @@
3939
<link rel="index" title="Index"
4040
href="genindex.html"/>
4141
<link rel="search" title="Search" href="#"/>
42-
<link rel="top" title="MABWiser 2.6.0 documentation" href="index.html"/>
42+
<link rel="top" title="MABWiser 2.7.0 documentation" href="index.html"/>
4343

4444

4545
<script src="_static/js/modernizr.min.js"></script>
@@ -177,7 +177,7 @@
177177
<script type="text/javascript">
178178
var DOCUMENTATION_OPTIONS = {
179179
URL_ROOT:'./',
180-
VERSION:'2.6.0',
180+
VERSION:'2.7.0',
181181
COLLAPSE_INDEX:false,
182182
FILE_SUFFIX:'.html',
183183
HAS_SOURCE: true

mabwiser/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
__author__ = "FMR LLC"
55
__email__ = "[email protected]"
6-
__version__ = "2.6.0"
6+
__version__ = "2.7.0"
77
__copyright__ = "Copyright (C), FMR LLC"

0 commit comments

Comments
 (0)