You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/opt/conda/lib/python3.10/site-packages/torchmetrics/functional/classification/matthews_corrcoef.py", line 278, in matthews_corrcoef
return binary_matthews_corrcoef(preds, target, threshold, ignore_index, validate_args)
File "/opt/conda/lib/python3.10/site-packages/torchmetrics/functional/classification/matthews_corrcoef.py", line 132, in binary_matthews_corrcoef
return _matthews_corrcoef_reduce(confmat)
File "/opt/conda/lib/python3.10/site-packages/torchmetrics/functional/classification/matthews_corrcoef.py", line 74, in _matthews_corrcoef_reduce
numerator = torch.sqrt(eps) * (a - b)
Code sample
# Ideally attach a minimal code sample to reproduce the decried issue.# Minimal means having the shortest code but still preserving the bug.
Expected behavior
Environment
TorchMetrics version (if build from source, add commit SHA): ???
Python & PyTorch Version (e.g., 1.0): ???
Any other relevant information such as OS (e.g., Linux): ???
Additional context
The text was updated successfully, but these errors were encountered:
🐛 Bug
To Reproduce
Code sample
Expected behavior
Environment
Additional context
The text was updated successfully, but these errors were encountered: