Long short-term memory for machine remaining life prediction