From 1d86f0fd0e1c28e4d05281557da91a0c570f0662 Mon Sep 17 00:00:00 2001 From: Carles Sala Date: Wed, 2 May 2018 17:39:58 +0200 Subject: [PATCH 1/3] Close #47: Add missing requirements in v0.1.1 setup.py --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 388aeefc..8a6f7161 100644 --- a/setup.py +++ b/setup.py @@ -61,5 +61,10 @@ # requirements files see: # https://packaging.python.org/en/latest/requirements.html # TODO - install_requires=['future'], + install_requires=[ + 'future>=0.16.0', + 'numpy>=1.14.2', + 'scikit-learn>=0.19.1', + 'scipy>=1.0.1' + ] ) From 34c6338f02449acd4a9a6f790c2e2f0eef56a1b6 Mon Sep 17 00:00:00 2001 From: Carles Sala Date: Wed, 2 May 2018 17:42:49 +0200 Subject: [PATCH 2/3] Resolve #46: 'GP' object has no attribute 'X' --- btb/tuning/tuner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/btb/tuning/tuner.py b/btb/tuning/tuner.py index 83580009..85791054 100644 --- a/btb/tuning/tuner.py +++ b/btb/tuning/tuner.py @@ -30,6 +30,9 @@ def __init__(self, tunables, gridding=0, **kwargs): self.grid_size = gridding self._define_grid() + self.X = np.array([]) + self.y = np.array([]) + def _define_grid(self): """ Define the range of possible values for each of the tunable From a2784e43799db7521cde2b339573afbcd60c1736 Mon Sep 17 00:00:00 2001 From: Carles Sala Date: Wed, 2 May 2018 17:44:20 +0200 Subject: [PATCH 3/3] Prepare v0.1.2 release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8a6f7161..7d8907bf 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='0.1.1', + version='0.1.2', description='A framework for Bayesian hyperparameter selection and tuning',