Data-Driven Learning Models with Applications to Retail Operations