AI and ML for analytics