Match Error Rate¶
Module Interface¶
- torchmetrics.MatchErrorRate[source]
alias of
torchmetrics.text._deprecated._MatchErrorRate
Functional Interface¶
- torchmetrics.functional.match_error_rate(preds, target)[source]
Wrapper for deprecated import.
>>> preds = ["this is the prediction", "there is an other sample"] >>> target = ["this is the reference", "there is another one"] >>> _match_error_rate(preds=preds, target=target) tensor(0.4444)
- Return type