native bayes classifier library