xgboost icon indicating copy to clipboard operation
xgboost copied to clipboard

Preprocessing within xgb.cv

Open piotr-ole opened this issue 4 years ago • 2 comments

I think in many cases some tasks like feature selection have to be done on each fold before training process. I guess in Python implementation is fpreproc option for passing function for data preprocessing (I haven't used it though). Can an option to perform preprocessing inside xgb.cv be added in later version?

piotr-ole avatar Jun 12 '20 13:06 piotr-ole

A pull request is welcome.

hcho3 avatar Jun 17 '20 19:06 hcho3

Will converting the dmatrix into pandas dataframe inside fpreproc be an inefficient way to do this?

What's the current recommended way?

shaayaansayed avatar Jan 09 '21 19:01 shaayaansayed