Skip to content

Commit 83ee2cc

Browse files
committed
Make lint
1 parent bdf0e08 commit 83ee2cc

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

examples/regression/1-quickstart/plot_ts-tutorial.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class that block bootstraps the training set.
210210
mapie_enbpi = mapie_enbpi.fit(X_train, y_train)
211211

212212
y_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
)
216216
y_pis_enbpi_npfit = np.clip(y_pis_enbpi_npfit, 1, 10)
@@ -233,7 +233,7 @@ class that block bootstraps the training set.
233233
y_pred_aci_npfit = np.zeros(y_pred_enbpi_npfit.shape)
234234
y_pis_aci_npfit = np.zeros(y_pis_enbpi_npfit.shape)
235235
y_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
)
239239
for 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.
284283
y_pred_enbpi_pfit = np.zeros(y_pred_enbpi_npfit.shape)
285284
y_pis_enbpi_pfit = np.zeros(y_pis_enbpi_npfit.shape)
286285
y_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.
332330
y_pred_aci_pfit = np.zeros(y_pred_aci_npfit.shape)
333331
y_pis_aci_pfit = np.zeros(y_pis_aci_npfit.shape)
334332
y_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(

examples/regression/2-advanced-analysis/plot_timeseries_enbpi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@
152152
X_test.iloc[step:(step + step_size), :],
153153
alpha=alpha,
154154
ensemble=True,
155-
156155
)
157156
coverage_pfit_enbpi = regression_coverage_score(
158157
y_test, y_pis_pfit_enbpi[:, 0, 0], y_pis_pfit_enbpi[:, 1, 0]

0 commit comments

Comments
 (0)