Predictive maintenance using Long Short-Term Memory