allow to export model of Naive Bayes classifier