pypomp.core.results.ResultsHistory

class pypomp.core.results.ResultsHistory(entries: Sequence[Result] | None = None)[source]

Bases: object

History log of results from multiple POMP runs.

Parameters:

entries (sequence of Result, optional) – Initial list of results to populate the history.

Methods

CLL([index, average])

Get conditional log-likelihoods for the entry at the specified index.

ESS([index, average])

Get Effective Sample Size for the entry at the specified index.

add(entry)

Alias for append() for backward compatibility.

append(entry)

Add a new result to the history.

clear()

Clear all entries from the history.

last()

Get last entry.

merge(*histories)

Merge multiple histories into one by merging entries at each index.

print_summary([n])

Print a summary of the results history.

results([index, ignore_nan])

Get the results DataFrame for the entry at the specified index.

time()

Return a DataFrame summarizing execution times.

traces()

Return a combined trace of parameters/likelihoods over all entries.