I am trying create an ensemble of lstm. Below is my implementation of one lstm:
def lstm_model(n_features, n_hidden_unit, learning_rate, p, recurrent_p): m