Contextual Mixture of Experts: Integrating Knowledge into Predictive Modeling