Skip to content

Commit

Permalink
Adding docstring to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewesterling committed Feb 14, 2024
1 parent af6c801 commit 05ef1ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoemulate/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def r2(y_true, y_pred):
return r2_score(y_true, y_pred)


#: A dictionary of available metrics.
METRIC_REGISTRY = {
"rmse": rmse,
"r2": r2,
Expand Down

0 comments on commit 05ef1ad

Please sign in to comment.