Artificial Intelligence and IoT: Naive Bayes