From 5db21468c2dd4a2638975e6f52b6306354a9c2b9 Mon Sep 17 00:00:00 2001 From: yagudin Date: Thu, 3 Jun 2021 00:56:15 +0300 Subject: [PATCH] Testing error in production --- calibration.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/calibration.py b/calibration.py index 1a291ea..1013238 100644 --- a/calibration.py +++ b/calibration.py @@ -27,9 +27,6 @@ def calibration_curve(y_true, y_prob, *, n_bins=5, strategy="uniform"): try: binids = np.digitize(y_prob, bins) - 1 - - raise ValueError - except Exception as e: np.set_printoptions(threshold=sys.maxsize) logging.info("=" * 40)