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 0c4e7c2 commit 66d0677Copy full SHA for 66d0677
autoemulate/core/metrics.py
@@ -48,11 +48,11 @@ class TorchMetrics(Metric):
48
49
Parameters
50
----------
51
- metric : MetricLike
+ metric: MetricLike
52
The torchmetrics metric class or partial.
53
- name : str
+ name: str
54
Display name for the metric. If None, uses the class name of the metric.
55
- maximize : bool
+ maximize: bool
56
Whether higher values are better.
57
"""
58
@@ -253,7 +253,7 @@ def get_metric(metric: str | Metric) -> Metric:
253
254
255
256
- metric : str | Metric
+ metric: str | Metric
257
The metric specification. Can be:
258
- A string shortcut like "r2", "rmse", "mse", "mae"
259
- A Metric instance (returned as-is)
0 commit comments