Dynamic data-driven learning for self-healing avionics