Artificial intelligence opportunities to diagnose degradation modes for safety operation in lithium batteries