I am trying to run an XGBoost model for Tabular Classification and get the following error.
DataFrame.dtypes for data must be int, float, bool or category. When categorical type is supplied, The experimental DMatrix parameter
enable_categorical must be set to
True. Invalid columns:td: object, xd: object, ac: object, act: object
Help would be appreciated …
The code can be found as “classify_ayla.py” in the “Files and Versions” section of the repo