Tuning LSTM hyperparameters and GRU