sb-ai-lab / LightAutoML

Fast and customizable framework for automatic ML model creation (AutoML)
https://developers.sber.ru/portal/products/lightautoml
Apache License 2.0
1.08k stars 47 forks source link

The 'group' parameter cannot be applied in the roles of the fit_predict function in TabularAutoML. #153

Open yuuniee opened 2 weeks ago

yuuniee commented 2 weeks ago

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

  1. Run -> TabularAutoML().fit_predict(..., roles={'target': TARGET_NAME, 'group': GROUP_NAME})
  2. "lightautoml > reader > utils.py > set_sklearn_folds()" <- Here, check if the 'group: Optional[np.ndarray]' variable has a value.

Expected behavior

Additional context

The issue was found in version "0.3.8.1" and is unknown for other versions.

I am always grateful for your open source contributions. Thank you.

Checklist

alexmryzhkov commented 2 weeks ago

Hi @yuuniee,

Thanks for the detailed description of the problem with the models validation. We will for sure take a look into it.

Alex