A small, dependency-light grid search for LSTM hyperparameters in Keras — units, dropout, batch size, epochs and learning rate — written because the scikit-learn wrappers were more ceremony than the job needed.
gridsearch.py the whole thing
Single file, easy to copy into a project and edit.