Supervised Learning in Dynamic Bayesian Networks