Skip to content

Commit 8220016

Browse files
committed
pep8 change
1 parent a359744 commit 8220016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/chronos/src/bigdl/chronos/metric/forecast_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def evaluate(metrics, y_true, y_pred, aggregate='mean'):
5353
"""
5454
if isinstance(metrics, str):
5555
metrics = [metrics]
56-
metrics = list(map(lambda x:x.lower(), metrics))
56+
metrics = list(map(lambda x: x.lower(), metrics))
5757
assert all([metric in TORCHMETRICS_REGRESSION_MAP.keys() for metric in metrics]),\
5858
f"metric should be one of {TORCHMETRICS_REGRESSION_MAP.keys()}, "\
5959
f"but get {metrics}."

0 commit comments

Comments
 (0)