I\'m trying to use Bayesian Optimization to choose hyperparameters for my Keras LSTM model.
I first defined the function that returns the accuracy metric (RMSE):