Interpretable mixture of experts for time series prediction under recurrent and non-recurrent conditions