tokens: Classically , this problem has been posed in two different ways which are typically solved independently : ( 1 ) Remaining useful life ( RUL ) estimation as a long - term prediction task to estimate how much time is left in the useful life of the equipment and ( 2 ) Failure prediction ( FP ) as a short - term prediction task to assess the probability of a failure within a pre - specified time window .