Skip to content

Commit

Permalink
Merge pull request #94 from fidelity/Fix-CI
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
AshishPvjs authored Aug 30, 2024
2 parents 9b85a94 + f61c6f2 commit b104071
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
MABWiser CHANGELOG
=====================

August, 07, 2024 2.7.4
-------------------------------------------------------------------------------
minor:
- Changed np.Inf to np.inf to fix CI issues


February, 17, 2024 2.7.3
-------------------------------------------------------------------------------
minor:
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '2.7.3',
VERSION: '2.7.4',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About Multi-Armed Bandits &mdash; MABWiser 2.7.3 documentation</title>
<title>About Multi-Armed Bandits &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MABWiser Public API &mdash; MABWiser 2.7.3 documentation</title>
<title>MABWiser Public API &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contributing &mdash; MABWiser 2.7.3 documentation</title>
<title>Contributing &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Usage Examples &mdash; MABWiser 2.7.3 documentation</title>
<title>Usage Examples &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; MABWiser 2.7.3 documentation</title>
<title>Index &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MABWiser Contextual Multi-Armed Bandits &mdash; MABWiser 2.7.3 documentation</title>
<title>MABWiser Contextual Multi-Armed Bandits &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Installation &mdash; MABWiser 2.7.3 documentation</title>
<title>Installation &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/new_bandit.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Adding a New Bandit &mdash; MABWiser 2.7.3 documentation</title>
<title>Adding a New Bandit &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &mdash; MABWiser 2.7.3 documentation</title>
<title>Python Module Index &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/quick.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quick Start &mdash; MABWiser 2.7.3 documentation</title>
<title>Quick Start &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &mdash; MABWiser 2.7.3 documentation</title>
<title>Search &mdash; MABWiser 2.7.4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand Down
2 changes: 1 addition & 1 deletion mabwiser/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

__author__ = "FMR LLC"
__email__ = "[email protected]"
__version__ = "2.7.3"
__version__ = "2.7.4"
__copyright__ = "Copyright (C), FMR LLC"
2 changes: 1 addition & 1 deletion mabwiser/mab.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ def _validate_mab_args(arms, learning_policy, neighborhood_policy, seed, n_jobs,
check_true(isinstance(arms, list), TypeError("The arms should be provided in a list."))
check_false(None in arms, ValueError("The arm list cannot contain None."))
check_false(np.nan in arms, ValueError("The arm list cannot contain NaN."))
check_false(np.Inf in arms, ValueError("The arm list cannot contain Infinity."))
check_false(np.inf in arms, ValueError("The arm list cannot contain Infinity."))
check_true(len(arms) == len(set(arms)), ValueError("The list of arms cannot contain duplicate values."))

# Learning Policy type
Expand Down

0 comments on commit b104071

Please sign in to comment.