When I am trying to fit AutoXGBoost i keep getting...
# mlforecast
b
When I am trying to fit AutoXGBoost i keep getting an error but I do not know where to put in the argument: ValueError: 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 columnsunique id category [W 2025-03-03 141802,388] Trial 0 failed with value None. This is the code: ### MLForecast auto_mlf = AutoMLForecast( freq="ME", season_length=12, models={ 'xgb': AutoXGBoost() }, fit_config=lambda trial: {'static_features': ['unique_id']} ) auto_mlf.fit( df=filtered_df, n_windows=n_windows, h=h, step_size=step_size, fitted=True, num_samples=20 # filter_for_unique_prediction_period=filter_for_unique_prediction_period, # log_transformation=log_transformation )