2
$\begingroup$

https://lightgbm.readthedocs.io/en/latest/Python-API.html

I have compared both of them in the lightgbm documentation and could not figure out which one I would choose and why I would choose one over the other?

$\endgroup$

1 Answer 1

2
$\begingroup$

Glancing at the source (available from your link), it appears that LGBMModel is the parent class for LGBMClassifier (and Ranker and Regressor). You should probably stick with the Classifier; it enforces proper loss functions, adds an array of data classes, translates the model's score into class probabilities and from there into predicted classes, etc.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.