8000 fit base estimator after calibration · scikit-learn/scikit-learn@132864b · GitHub
[go: up one dir, main page]

Skip to content

Commit 132864b

Browse files
author
Prokopios Gryllos
committed
fit base estimator after calibration

1 file changed

+1
-0
lines changed

sklearn/calibration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def fit(self, X, y):
9898
)
9999
self.calibrated_threshold = sum(calibrated_thresholds) /\
100100
len(calibrated_thresholds)
101+
self.base_estimator.fit(X, y)
101102
return self
102103

103104
def predict(self, X):

0 commit comments

Comments
 (0)
0