@@ -210,7 +210,7 @@ class that block bootstraps the training set.
210210mapie_enbpi = mapie_enbpi .fit (X_train , y_train )
211211
212212y_pred_enbpi_npfit , y_pis_enbpi_npfit = mapie_enbpi .predict (
213- X_test , alpha = alpha , ensemble = True ,
213+ X_test , alpha = alpha , ensemble = True ,
214214 allow_infinite_bounds = True
215215)
216216y_pis_enbpi_npfit = np .clip (y_pis_enbpi_npfit , 1 , 10 )
@@ -233,7 +233,7 @@ class that block bootstraps the training set.
233233y_pred_aci_npfit = np .zeros (y_pred_enbpi_npfit .shape )
234234y_pis_aci_npfit = np .zeros (y_pis_enbpi_npfit .shape )
235235y_pred_aci_npfit [:gap ], y_pis_aci_npfit [:gap , :, :] = mapie_aci .predict (
236- X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
236+ X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
237237 allow_infinite_bounds = True
238238)
239239for step in range (gap , len (X_test ), gap ):
@@ -249,7 +249,6 @@ class that block bootstraps the training set.
249249 X_test .iloc [step :(step + gap ), :],
250250 alpha = alpha ,
251251 ensemble = True ,
252-
253252 allow_infinite_bounds = True
254253 )
255254 y_pis_aci_npfit [step :step + gap , :, :] = np .clip (
@@ -284,7 +283,7 @@ class that block bootstraps the training set.
284283y_pred_enbpi_pfit = np .zeros (y_pred_enbpi_npfit .shape )
285284y_pis_enbpi_pfit = np .zeros (y_pis_enbpi_npfit .shape )
286285y_pred_enbpi_pfit [:gap ], y_pis_enbpi_pfit [:gap , :, :] = mapie_enbpi .predict (
287- X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
286+ X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
288287 allow_infinite_bounds = True
289288)
290289
@@ -300,7 +299,6 @@ class that block bootstraps the training set.
300299 X_test .iloc [step :(step + gap ), :],
301300 alpha = alpha ,
302301 ensemble = True ,
303-
304302 allow_infinite_bounds = True
305303 )
306304 y_pis_enbpi_pfit [step :step + gap , :, :] = np .clip (
@@ -332,7 +330,7 @@ class that block bootstraps the training set.
332330y_pred_aci_pfit = np .zeros (y_pred_aci_npfit .shape )
333331y_pis_aci_pfit = np .zeros (y_pis_aci_npfit .shape )
334332y_pred_aci_pfit [:gap ], y_pis_aci_pfit [:gap , :, :] = mapie_aci .predict (
335- X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
333+ X_test .iloc [:gap , :], alpha = alpha , ensemble = True ,
336334 allow_infinite_bounds = True
337335)
338336
@@ -353,7 +351,6 @@ class that block bootstraps the training set.
353351 X_test .iloc [step :(step + gap ), :],
354352 alpha = alpha ,
355353 ensemble = True ,
356-
357354 allow_infinite_bounds = True
358355 )
359356 y_pis_aci_pfit [step :step + gap , :, :] = np .clip (
0 commit comments