Artificial intelligence for data analytics