pypomp.Pomp.results

Pomp.results(index: int = -1, ignore_nan: bool = False) DataFrame

Return a summary DataFrame for one run from the results history.

Retrieves the final log-likelihoods and parameter values for all replicates associated with the run at position index in results_history.

Parameters:
  • index (int, optional) – Position in results_history to retrieve. Defaults to -1 (the most recent run).

  • ignore_nan (bool, optional) – If True, NaN log-likelihoods are excluded when computing the summary. Defaults to False.

Returns:

Tidy DataFrame with columns logLik and one column per parameter, indexed by theta_idx.

Return type:

pd.DataFrame

See also

pypomp.core.results.Result.to_dataframe

Dataframe returned by Result class.