A plurality of fault conditions are detected on a communication network onboard a vehicle. The detected fault conditions, a fault condition importance, environment conditions, and a vehicle operation mode are input to a neural network that outputs rankings for respective detected fault conditions. The neural network is trained by determining a loss function based on a maximum likelihood principle that determines a probability distribution that ranks the detected fault conditions. The vehicle is operated based on the rankings of the fault conditions.