Hyperparameter tuning and generalization of LSTM networks for residential energy prediction