LightGBM-with-Focal-Loss icon indicating copy to clipboard operation
LightGBM-with-Focal-Loss copied to clipboard

An implementation of the focal loss to be used with LightGBM for binary and multi-class classification problems

Results 3 LightGBM-with-Focal-Loss issues
Sort by recently updated
recently updated
newest added

Hi. Thanks for this implementation. I had a problem: ``` /var/folders/tx/5cvg8b910f31k6ttxp5ds9cxbmnldx/T/ipykernel_14194/2624284624.py:26: RuntimeWarning: overflow encountered in exp p = 1/(1+np.exp(-x)) /var/folders/tx/5cvg8b910f31k6ttxp5ds9cxbmnldx/T/ipykernel_14194/2624284624.py:27: RuntimeWarning: divide by zero encountered in log return -( a*t...

hi, when I use lightgbm with focal loss, it can not open multithreading. The CPU only use 100%.

Can you specify a license for this repository?