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
[LightGBM] [Fatal] Check failed: (best_split_info.left_count) > (0) at /__w/1/s/python-package/compile/src/treelearner/serial_tree_learner.cpp, line 653 .
Reproducible example
The error happens when I use the "cegb_penalty_feature_coupled" parameter. If we remove the parameter, the error disappears.
A minimal example to reproduce the error:
import lightgbm as lgb
import pandas as pd
X = pd.read_csv('./cegb_X.csv', index_col=0)
y = pd.read_csv('./cegb_Y.csv', index_col=0)
params = {"n_estimators": 1000, "importance_type": "gain", "num_leaves": 64,
"cegb_penalty_feature_coupled": [1 for _ in range(X.shape[1])],
"seed": 1, "n_jobs": 40}
gbm = lgb.LGBMRegressor(**params)
gbm.fit(X, y)
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Description
[LightGBM] [Fatal] Check failed: (best_split_info.left_count) > (0) at /__w/1/s/python-package/compile/src/treelearner/serial_tree_learner.cpp, line 653 .
Reproducible example
The error happens when I use the "cegb_penalty_feature_coupled" parameter. If we remove the parameter, the error disappears.
A minimal example to reproduce the error:
cegb_X.csv
cegb_Y.csv
The text was updated successfully, but these errors were encountered: