I am trying to perform Bayesian optimisation on an XGBoost model in R but am getting a strange error. The error is as follows:
Error in GP_deviance(beta = row, X