Skip to content
#

lightgbm

Here are 291 public repositories matching this topic...

LightGBM
mmlspark
brunocous
brunocous commented Sep 2, 2020

I have a simple regression task (using a LightGBMRegressor) where I want to penalize negative predictions more than positive ones. Is there a way to achieve this with the default regression LightGBM objectives (see https://lightgbm.readthedocs.io/en/latest/Parameters.html)? If not, is it somehow possible to define (many example for default LightGBM model) and pass a custom regression objective?

StrikerRUS
StrikerRUS commented Oct 18, 2019

I'm sorry if I missed this functionality, but CLI version hasn't it for sure (I saw the related code only in generate_code_examples.py). I guess it will be very useful to eliminate copy-paste phase, especially for large models.

Of course, piping is a solution, but not for development in Jupyter Notebook, for example.

awesome-decision-tree-papers
awesome-gradient-boosting-papers

Improve this page

Add a description, image, and links to the lightgbm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the lightgbm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.