You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can either of you send me their trained tree? Or a model.txt for a model that was trained with a custom objective? I've never thought about this before, so it won't work out of the box.
One solution would be to compile without any objective function (by editing the model.txt to remove it), and then just implementing the objective function yourself in Python / C / numba based on the raw outputs of the tree.
I've saved a
LightGBM
model trained using a custom objective. Is it possible to compile it throughlleaves
?Currently, I'm getting a
RuntimeError: Missing non-nullable keys {'objective'}
when running:Thanks !
The text was updated successfully, but these errors were encountered: