Streaming Naive Bayes classifier for medium-sized data