get_individual_prediction_expression#
- pharmpy.modeling.get_individual_prediction_expression(model)[source]#
Get the full symbolic expression for the modelled individual prediction
This function currently only support models without ODE systems
- Parameters:
model (Model) – Pharmpy model object
- Returns:
Expression – Symbolic expression
Examples
>>> from pharmpy.modeling import load_example_model, get_individual_prediction_expression >>> model = load_example_model("pheno_linear") >>> get_individual_prediction_expression(model) D_ETA1*(ETA_1 - OETA1) + D_ETA2*(ETA_2 - OETA2) + OPRED
See also
get_population_prediction_expression
Get full symbolic epression for the population prediction