Revolutionizing Retail Through Inventory Optimization with Machine Learning