Successive naive Bayesian classifier