Application of Attention Mechanism in Deep Neural Network Architecture for System Failure Prognostics