Hard and soft em in bayesian network learning from incomplete data