Skip to content

Commit 5877393

Browse files
use method='splitconformal' in predict
1 parent 8a1fb60 commit 5877393

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GPopt/GPOpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def surrogate_fit_predict(
340340
assert self.acquisition == "ucb", "'acquisition' must be 'ucb' for conformalized surrogates"
341341
self.posterior_ = None
342342
res = self.surrogate_obj.fit(X_train, y_train).predict(
343-
X_test, return_pi=True)
343+
X_test, return_pi=True, method="splitconformal")
344344
self.y_mean = res.mean
345345
self.y_lower = res.lower
346346
self.y_upper = res.upper

GPopt/demo/thierrymoudiki_20240206_tuning_BCN_classifier_Pt2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
"name": "python",
259259
"nbconvert_exporter": "python",
260260
"pygments_lexer": "ipython3",
261-
"version": "3.11.8"
261+
"version": "3.11.10"
262262
}
263263
},
264264
"nbformat": 4,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from codecs import open
44
from os import path
55

6-
__version__ = "0.8.0"
6+
__version__ = "0.8.1"
77

88
subprocess.call("pip install -r requirements.txt", shell=True)
99

0 commit comments

Comments
 (0)