Skip to content

Commit 562e88f

Browse files
committed
Merge branch 'master' into stable
2 parents c839024 + 06b94ce commit 562e88f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+827
-930
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ insert_final_newline = true
1010
charset = utf-8
1111
end_of_line = lf
1212

13+
[*.py]
14+
max_line_length = 99
15+
1316
[*.bat]
1417
indent_style = tab
1518
end_of_line = crlf

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ instance/
6464

6565
# Sphinx documentation
6666
docs/_build/
67-
docs/btb.rst
68-
docs/modules.rst
69-
docs/btb.*.rst
67+
docs/api/
7068

7169
# PyBuilder
7270
target/
@@ -106,3 +104,6 @@ ENV/
106104

107105
# other
108106
.DS_Store
107+
108+
# Vim
109+
.*.swp

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ deploy:
2424
distributions: sdist bdist_wheel
2525
user: dai_lab_mit
2626
password:
27-
secure: BMsYqhu2RxlxLSnJczsMVShDqjdx96nZHq553QrzkhZAedtUKaB+EsqKmdytEOv1uLA8Qz+IqnhJsZfH+AwAMm0uDOxa2p3Eanqr5n/nmf4Qc5hutpex83ftPNKpf5+5WqIgOpKe94s0T330NRNw363emop/WlCS2xipghAv2Z/IED1vT3V12Z6KaPjF9GV4SR/Eeuz8czr0tBUvQbOcCP4zKYQr5zppbfceVPLewbmPWeOD/+pVH6+aQ6IbaxXJLCxJfhZziYAV5Hs/x2b5KMS06yaYzstQ4iCzFS/slgKqP16KppfngFx3UVtLqJajgy2JWqigB9DsUT3JWQJaDFpehrq/z+ypGUQSQB/uIrUkmG6WCJd+1BdfHDz4CGAMwxVb05lIrssfsAq18C0O/sZziLcTB/z3QkF3Za3ZXSqQ+Yp8UdLJSHiYh5nF6VTxqRrgfLtY6PuUoIY7ZFzBRSC/krbhxZES1QkQS5x9qIsqSivj0V3mz05ONpu9QK28d2G3En0cADP1QGMQV80iTPvIKy6p/HN7lUGMeXpl+FYeN58ECOZIkn1aXh06vVrTRJHDea3dvYP84iw3qelR4LKRFsb3Lw6fWiC8/KKdb2j4pemQxOQO2wH6dbCpbz9g6j9ubr8KmTt4DQWz876NhbT8T2mlRq1pZu4JQsuMzU0=
27+
secure: "y0Kne47Qz9O4nJzHMaB466rheOKCsPD3cwR6ClXCUOt1tIj3UeVogl+RVhjHAtoYcS4XLdacvc1nXIfVfyweQ5bRGuC5sAny1qMqmL7HVf6aO5Q7lBrRYOnBWkDpjGev9x2jND24GGGz1NHeVfy1oXVcDiMiJhTzAELr2ESE0uVsMuW7QOB5ET47gmPYR8EM6dKk2BtuRZ12vDUvk2P3gCfaBwfeGWk63WA6SB2IOLPu9Dj2kZzGz/X24U+iYQn6bbgKylrrhLjNso3m/O9XjaCEp12gnwCOfFGlhlw8ZWD0jNf17uwpmhgM7uep1lhfXoVjcRHWWZmEV3dwxdKJexMzUcO5nFpkDhQsftc3InV6sIW9CiCjnpDjeQnRdPjqSQLamR+/CJnQ/Nva27ZL7EWBf/5ut7lNRdSnTMSzrDemZtznoQl1IVv9/+KYCK1+g6hrrDmNuaRS7BLSpza+4a9U5lI4UXfUOlUSDtPXwVDbekBBir3dQ5C9uRyjnP5yJvrxG06HUmIWGPqjeZK0taUPe/85xCqb5YunID0cCI2Q8UhMIFuLR8NU1vKaJYYG0O5mYxmgSoHX7bWwkvs/qg2iKFdMx31IiqdR2B5N0BfHhkAEvSXdbs9q4ptbqFmojeXL5u4SavQ+UURPtLqT4wUUPRdTOB/OIg3J7Pm08Dk="
2828
on:
2929
tags: true
30-
branch: master
3130
repo: HDI-Project/BTB
3231
python: 3.6
3332

HISTORY.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# History
22

3+
## 0.2.4
4+
5+
### Internal Improvements
6+
7+
* Issue #62: Test for `None` in `HyperParameter.cast` instead of `HyperParameter.__init__`
8+
9+
### Bug fixes
10+
11+
* Issue #98: Categorical hyperparameters do not support `None` as input
12+
* Issue #89: Fix the computation of `avg_rewards` in `BestKReward`
13+
14+
## 0.2.3
15+
16+
### Bug fixes
17+
18+
* Issue #84: Error in GP tuning when only one parameter is present bug
19+
* Issue #96: Fix pickling of HyperParameters
20+
* Issue #98: Fix implementation of the GPEi tuner
21+
22+
## 0.2.2
23+
24+
### Internal Improvements
25+
26+
* Updated documentation
27+
28+
### Bug fixes
29+
30+
* Issue #94: Fix unicode `param_type` caused error on python 2.
31+
332
## 0.2.1
433

534
### Bug fixes

Makefile

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,9 @@ lint: ## check style with flake8 and isort
5757
flake8 btb tests examples
5858
isort -c --recursive btb tests examples
5959

60-
fixlint: ## fix lint issues using autoflake, autopep8, and isort
61-
find btb -name '*.py' | xargs autoflake --in-place --remove-all-unused-imports --remove-unused-variables
62-
autopep8 --in-place --recursive --aggressive btb
63-
isort --apply --atomic --recursive btb
64-
65-
find tests -name '*.py' | xargs autoflake --in-place --remove-all-unused-imports --remove-unused-variables
66-
autopep8 --in-place --recursive --aggressive tests
67-
isort --apply --atomic --recursive tests
60+
fix-lint: ## fix lint issues using autoflake, autopep8, and isort
61+
autopep8 --in-place --recursive --aggressive --aggressive btb tests examples
62+
isort --apply --atomic --recursive btb tests examples
6863

6964
test: ## run tests quickly with the default Python
7065
pytest
@@ -79,15 +74,12 @@ coverage: clean-coverage ## check code coverage quickly with the default Python
7974
$(BROWSER) htmlcov/index.html
8075

8176
clean-docs: ## remove previously built docs
82-
rm -f docs/btb.rst
83-
rm -f docs/btb.*.rst
84-
rm -f docs/modules.rst
77+
rm -f docs/api/*.rst
8578
$(MAKE) -C docs clean
8679

8780
docs: clean-docs ## generate Sphinx HTML documentation, including API docs
88-
sphinx-apidoc -o docs/ btb
81+
sphinx-apidoc --module-first --separate -o docs/api/ btb
8982
$(MAKE) -C docs html
90-
touch docs/_build/html/.nojekyll
9183

9284
viewdocs: docs ## view docs in browser
9385
$(BROWSER) docs/_build/html/index.html

0 commit comments

Comments
 (0)