Skip to content

Commit

Permalink
Unify r/fbeta/fbeta_score (#740)
Browse files Browse the repository at this point in the history
Summary:
### New commit log messages
- [d36fffc Unify r/fbeta/fbeta_score (#740)](Lightning-AI/torchmetrics#740)

Reviewed By: tangbinh

Differential Revision: D34814343

fbshipit-source-id: 572d856caf110ab383e2766db93b47a5e2597b69
  • Loading branch information
DuYicong515 authored and facebook-github-bot committed Mar 14, 2022
1 parent 13e2927 commit aa463c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(

self.loss = CrossEntropyLoss()
self.accuracy = metrics.Accuracy()
self.fbeta = metrics.FBeta(
self.fbeta = metrics.FBetaScore(
num_classes=num_classes,
average="macro",
)
Expand Down

0 comments on commit aa463c2

Please sign in to comment.