Add basic laplace smoothing to bayes net