Loss Function Implementations ML Frameworks
Implementations and comparisons of custom loss functions for machine learning models across different frameworks and domains. Does NOT include general model training frameworks, evaluation metrics libraries, or domain-specific applications.
There are 35 loss function implementations frameworks tracked. 5 score above 50 (established tier). The highest-rated is HelmchenLabSoftware/Cascade at 58/100 with 159 stars.
Get all 35 projects as JSON
curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=loss-function-implementations&limit=20"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
| # | Framework | Score | Tier |
|---|---|---|---|
| 1 |
HelmchenLabSoftware/Cascade
Calibrated inference of spiking from calcium ΔF/F data using deep networks |
|
Established |
| 2 |
adobe/antialiased-cnns
pip install antialiased-cnns to improve stability and accuracy |
|
Established |
| 3 |
KaiyangZhou/pytorch-center-loss
Pytorch implementation of Center Loss |
|
Established |
| 4 |
devsisters/pointer-network-tensorflow
TensorFlow implementation of "Pointer Networks" |
|
Established |
| 5 |
kimhc6028/relational-networks
Pytorch implementation of "A simple neural network module for relational... |
|
Established |
| 6 |
kyegomez/LiqudNet
Implementation of Liquid Nets in Pytorch |
|
Emerging |
| 7 |
orchardbirds/bokbokbok
Custom Loss Functions and Evaluation Metrics for XGBoost and LightGBM |
|
Emerging |
| 8 |
vandit15/Class-balanced-loss-pytorch
Pytorch implementation of the paper "Class-Balanced Loss Based on Effective... |
|
Emerging |
| 9 |
lucidrains/RIM-pytorch
Implementation of Recurrent Independent Mechanisms in Pytorch |
|
Emerging |
| 10 |
Hsuxu/Loss_ToolBox-PyTorch
PyTorch Implementation of Focal Loss and Lovasz-Softmax Loss |
|
Emerging |
| 11 |
fcakyon/balanced-loss
Easy to use class balanced cross entropy and focal loss implementation for Pytorch |
|
Emerging |
| 12 |
richardaecn/class-balanced-loss
Class-Balanced Loss Based on Effective Number of Samples. CVPR 2019 |
|
Emerging |
| 13 |
seorim0/DCCRN-with-various-loss-functions
DCCRN with various loss functions |
|
Emerging |
| 14 |
kahnchana/opl
Official repository for "Orthogonal Projection Loss" (ICCV'21) |
|
Emerging |
| 15 |
sniklaus/softmax-splatting
an implementation of softmax splatting for differentiable forward warping... |
|
Emerging |
| 16 |
abhuse/polyloss-pytorch
Polyloss Pytorch Implementation |
|
Emerging |
| 17 |
gan3sh500/local-relational-nets
A Pytorch implementation for the paper Local Relational Networks for Image... |
|
Emerging |
| 18 |
isaaccorley/Making-Convolutional-Networks-Shift-Invariant-Again-Tensorflow
Tensorflow Implementation of BlurPool the Antialiasing Pooling operation... |
|
Emerging |
| 19 |
g0lemXIV/LambdaNetworks
Implementation of LambdaNetworks, a framework for capturing long-range... |
|
Emerging |
| 20 |
statmlben/ensLoss
EnsLoss: Stochastic Calibrated Loss Ensembles for Preventing Overfitting in... |
|
Emerging |
| 21 |
aryan-jadon/Regression-Loss-Functions-in-Time-Series-Forecasting-PyTorch
This repository compares the performance of 8 different regression loss... |
|
Emerging |
| 22 |
neuronflow/blob_loss
blob loss example implementation |
|
Experimental |
| 23 |
anwai98/Loss-Functions
Different Loss Function Implementations in PyTorch and Keras |
|
Experimental |
| 24 |
richzhang/antialiased-cnns
Repository has been moved: https://github.com/adobe/antialiased-cnns |
|
Experimental |
| 25 |
csinva/mouse-brain-decoding
Decoding images from calcium recordings using data from stringer et al. 2018. |
|
Experimental |
| 26 |
stabgan/awesome-loss-functions
A comprehensive, chronologically ordered collection of loss functions across... |
|
Experimental |
| 27 |
glanceable-io/ordinal-log-loss
Repository of the COLING 2022 paper : Ordinal Log-Loss - A simple log-based... |
|
Experimental |
| 28 |
sararahman1729/Custom-Loss-Function
I did this project during my Neural network and pattern recognition course. |
|
Experimental |
| 29 |
Subkash2206/spectral-aliasing-cnns
A spectral analysis framework for studying aliasing in strided CNNs. Defines... |
|
Experimental |
| 30 |
kyegomez/nebula
1 Loss Function For Everything |
|
Experimental |
| 31 |
mlnjsh/Loss-Functions-In-Detail
📐 Deep dive into Loss Functions — MSE, MAE, Cross-Entropy, Huber, Focal,... |
|
Experimental |
| 32 |
MrGoriay/pwlu-pytorch
Unofficial pytorch implementation of Piecewise Linear Unit dynamic... |
|
Experimental |
| 33 |
nataliarodriguez-uc/auc-opt
Constructing new surrogate loss for optimizing pairwise difference metrics... |
|
Experimental |
| 34 |
ChenLiu-1996/AdversarialFocalLoss
Adversarial Focal Loss: Asking Your Discriminator for Hard Examples. |
|
Experimental |
| 35 |
mahshid1378/DCCRN
DCCRN with various loss functions |
|
Experimental |