an implementation of naive bayes network with incomplete data