summarize_modelfit_results#
- pharmpy.tools.summarize_modelfit_results(context, include_all_execution_steps=False)[source]#
Summarize results of model runs
Summarize different results after fitting a model, includes runtime, ofv, and parameter estimates (with errors). If include_all_execution_steps is False, only the last estimation step will be included (note that in that case, the minimization_successful value will be referring to the last estimation step, if last step is evaluation it will go backwards until it finds an estimation step that wasn’t an evaluation).
- Parameters:
context (Context) – Context in which models were run
include_all_execution_steps (bool) – Whether to include all estimation steps, default is False
- Returns:
pd.DataFrame – A DataFrame of modelfit results with model name and estmation step as index.