add example with bayesian classifier