Text this: Autonomous diagnostics and prognostics in lithium-ion battery systems via self-healing machine learning