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 ce24df4 commit 2906328Copy full SHA for 2906328
autoemulate/core/metrics.py
@@ -403,7 +403,7 @@ def __call__(
403
if model_nll_output is None:
404
msg = "Per-output MLL not available for non-Independent distributions."
405
raise ValueError(msg)
406
- return model_nll_output - trivial_nll_output
+ return (model_nll_output - trivial_nll_output).reshape(*y_true.shape)
407
msg = (
408
f"Unknown reduction method: {metric_params.reduction}. "
409
"Expected 'mean' or 'none'."
0 commit comments