Machine Learning, Gradient Boosting, Data Science, Towards Data Science, Loss Function.
this option. Here is a Jupyter notebook that shows how to implement a custom training and validation loss function. The details are in the notebook, but at a high level, the implementations are slightly different: Training loss: Customizing the training loss in LightGBM requires defining a function