Probabilistic models for market segmentation and customer loyalty