Currently, BorutaShap throws error if there are missing values in the data even if the model used is lightgbm. The reason is that the code checks for string 'lgbm' instead of 'lightgbm' as a marker to see if the model used is 'lightgbm'
LIne 179 in BorutaShap.py
models_to_check = ('xgb', 'catboost', 'lgbm')
should be
models_to_check = ('xgb', 'catboost', 'lgbm', 'lightgbm')
Since,
model=LGBMClassifier()print(type(model))#lightgbm.sklearn.LGBMClassifier
Describe the bug
Currently, BorutaShap throws error if there are missing values in the data even if the model used is lightgbm. The reason is that the code checks for string 'lgbm' instead of 'lightgbm' as a marker to see if the model used is 'lightgbm'
LIne 179 in BorutaShap.py
models_to_check = ('xgb', 'catboost', 'lgbm')
should bemodels_to_check = ('xgb', 'catboost', 'lgbm', 'lightgbm')
Since,model=LGBMClassifier()
print(type(model))
#lightgbm.sklearn.LGBMClassifier