torch_ecg.models.loss¶
Custom loss functions for ECG analysis, as a complement to built-in loss functions in PyTorch.
|
Weighted Binary Cross Entropy Loss class. |
|
Class-weighted Binary Cross Entropy Loss class. |
Masked Binary Cross Entropy Loss class. |
|
|
Focal loss class. |
|
Asymmetric loss class. |