Skip to content

Commit a41c379

Browse files
reformatting and make docs Pt.3
1 parent 60be31a commit a41c379

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

nnetsauce/mts/mts.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,6 @@ def err_func(X_test, X_pred, scoring, alpha=0.5):
16651665
# Handle multivariate
16661666
scores = []
16671667
p = X_test.shape[1] if len(X_test.shape) > 1 else 1
1668-
print("line. 1548", p)
16691668
for j in range(p):
16701669
series_name = getattr(
16711670
self, "series_names", [f"Series_{j}"]
@@ -1679,9 +1678,7 @@ def err_func(X_test, X_pred, scoring, alpha=0.5):
16791678
if col not in q_pred.columns:
16801679
raise ValueError(
16811680
f"Column '{col}' not found in quantile forecast output."
1682-
)
1683-
print("line. 1555", j)
1684-
print("line. 1556", X_test)
1681+
)
16851682
try:
16861683
y_true_j = X_test[:, j] if p > 1 else X_test
16871684
except:
@@ -1690,7 +1687,6 @@ def err_func(X_test, X_pred, scoring, alpha=0.5):
16901687
if p > 1
16911688
else X_test.values
16921689
)
1693-
print("line. 1561", y_true_j)
16941690
y_pred_j = q_pred[col].values
16951691
# Compute pinball loss for this series
16961692
loss = mean_pinball_loss(

0 commit comments

Comments
 (0)