Open TomAugspurger opened 6 years ago
hello, is this issue resolved? @TomAugspurger
Seems like it's still open. Are you interested in working on it?
On Mon, Nov 26, 2018 at 6:10 AM chenzikun notifications@github.com wrote:
hello, is this issue resolved? @TomAugspurger https://github.com/TomAugspurger
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dask/dask-xgboost/issues/15#issuecomment-441617700, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQHIjYwQyef2OsIwHi8otcFsCfcGJJaks5uy9pTgaJpZM4Qq6IO .
I use xgboost on single machine, it works well. But comes with the same error with dask-xgboost. I am trying to figure out what was happened
~/sandbox/dask-xgboost/dask_xgboost/core.py in train_part() 66 labels = concat(labels) 67 dmatrix_kwargs["feature_names"] = getattr(data, 'columns', None) ---> 68 dtrain = xgb.DMatrix(data, labels, **dmatrix_kwargs)
why send "feature_names" to xgb.DMatrix?
The feature names are nice to preserve.
On Mon, Nov 26, 2018 at 7:07 AM chenzikun notifications@github.com wrote:
~/sandbox/dask-xgboost/dask_xgboost/core.py in train_part() 66 labels = concat(labels) 67 dmatrix_kwargs["feature_names"] = getattr(data, 'columns', None) ---> 68 dtrain = xgb.DMatrix(data, labels, **dmatrix_kwargs)
why send "feature_names" to xgb.DMatrix?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dask/dask-xgboost/issues/15#issuecomment-441632498, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQHInLdqxBRmI_ZPx4RvhjUg8fQkKcmks5uy-eGgaJpZM4Qq6IO .
e.g. if they're ints, xgboost will refuse them.