The naive Bayes algorithm does not require independent and identical distribution among sample features.