Use of AI and Data Analytics in Optimizing Tablet Compression