We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a359744 commit 8220016Copy full SHA for 8220016
python/chronos/src/bigdl/chronos/metric/forecast_metrics.py
@@ -53,7 +53,7 @@ def evaluate(metrics, y_true, y_pred, aggregate='mean'):
53
"""
54
if isinstance(metrics, str):
55
metrics = [metrics]
56
- metrics = list(map(lambda x:x.lower(), metrics))
+ metrics = list(map(lambda x: x.lower(), metrics))
57
assert all([metric in TORCHMETRICS_REGRESSION_MAP.keys() for metric in metrics]),\
58
f"metric should be one of {TORCHMETRICS_REGRESSION_MAP.keys()}, "\
59
f"but get {metrics}."
0 commit comments