Visitar URL original
Adding custom callback functions parameter to LightGBMRegressor (e.g. pruning callback for Optuna HPO) · Issue #2406 · microsoft/SynapseML · GitHub
Skip to content

Adding custom callback functions parameter to LightGBMRegressor (e.g. pruning callback for Optuna HPO) #2406

Open

Description

It would be nice that SynapseML LightGBMRegressor implements callbacks parameter which accepts array of custom callback functions which can be used for example for pruning in Optuna HPO, That parameter already exists in standard LightGBM.

Code example in standard LightGBM:
pruning_callback = optuna.integration.LightGBMPruningCallback(trial, "auc")
gbm = lgb.train(param, dtrain, valid_sets=[dvalid], callbacks=[pruning_callback])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions