When instantiating the XGBoost estimator using a custom gamma parameter, the following error is thrown: TypeError: 'dict_values' object is not subscriptable