How to Fix “TypeError: getattr(): attribute name must be string” when multiple optimizers are GridSearched for GaussianProcessRegressor?
Here is my script to predict targets on the final date of a timeseries dataset. I am trying to incorporate a GaussianProcessRegressor model to find the best hyperparameters using GridSearchCV: (Note that some of the code including most of the constants used are not explicitly shown in here to avoid clutter.)