Adaptive Bayesian Diagnosis of Intermittent Faults