Allow users to specify a base predictor that predicts population, cluster, or cohort models, so that contextualized models only learn context-specific effects not represented in the base predictor.
Base predictor interface for regression and easy:
BasePredictor:
predict_params(self, C): returns a numpy array of parameters matching the output shape of _params_reshape
Base predictions and context-specific predictions should be summed in ContextualizedRegressionBase.forward
Allow users to specify a base predictor that predicts population, cluster, or cohort models, so that contextualized models only learn context-specific effects not represented in the base predictor.
Base predictor interface for
regression
andeasy
:Base predictions and context-specific predictions should be summed in
ContextualizedRegressionBase.forward
Resolve #87 before addressing this issue for
dags