Added method naive_bayes_for_change_type