Learning methodology for failure detection and accommodation | Synapse