Artificial Intelligence and Machine Learning for Smart Community