-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Changes * Add refactored smab classes * Add Poetry and Pre-Commit setup * Refactor repository settings * Add pyproject.toml for Poetry * Add tox.ini * Add .git* files * Remove outdated setup files * Update pre-commit hooks in .pre-commit-config.yaml * CostControlBandit: Take action with the highest probability when multiple actions have the same cost * Fix tests * Fix test_select_action_logic_corner_cases * Add Multi-Objective strategy merged with Cost-Control * Add new strategy Multi-Objective with Cost-Control * Add a new Beta model to support the MO-CC strategy * Create SmabBernoulli with Strategy MO-CC * Modify tests accordingly * Add Bayesian Logistic Regression model * Add class StudentT * Add class BaseBayesianLogisticRegression * Add class BayesianLogisticRegression * Add unit tests accordingly * Refactor BaseCmab and add CmabBernoulli * Add BaseCmabBernoulli * Add CmabBernoulli * Add unit tests in test_cmab.py * Add a new test in test_smab.py to reach 100% line coverage * Add Sonar-related config * Fix GitHub workflow * Fix style with Pre-Commit * Add deadline time in cmab tests * Update continuous_integration.yml * Add CI to develop branch --------- Co-authored-by: Stefano Piazza <[email protected]>
- Loading branch information
1 parent
a18a1c4
commit fd1aece
Showing
45 changed files
with
5,876 additions
and
2,119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.ipynb merge=nbdev-merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Generated by nbdev_install_hooks | ||
# | ||
# If you need to disable this instrumentation do: | ||
# git config --local --unset include.path | ||
# | ||
# To restore: | ||
# git config --local include.path ../.gitconfig | ||
# | ||
[merge "nbdev-merge"] | ||
name = resolve conflicts with nbdev_fix | ||
driver = nbdev_merge %O %A %B %P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
exclude: '^docs/conf.py' | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.2.3 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: requirements-txt-fixer | ||
- id: mixed-line-ending | ||
args: ['--fix=no'] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: [Flake8-pyproject] | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.7.9 | ||
hooks: | ||
- id: flake8 | ||
args: ['--append-config=setup.cfg'] | ||
- repo: https://github.com/psf/black | ||
rev: 23.1.0 | ||
hooks: | ||
- id: black | ||
- id: black-jupyter | ||
|
||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.4 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/fastai/nbdev | ||
rev: 2.3.11 | ||
hooks: | ||
- id: nbdev_clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ Authors | |
|
||
* Dario d'Andrea, [email protected] | ||
* Jerome Carayol, [email protected] | ||
* Stefano Piazza, [email protected] | ||
* Raphael Steinmann, [email protected] | ||
* Armand Valsesia, [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.