A mixture of experts model for predicting persistent weather patterns