Sensor failure detection and data recovery based on neural network