pypomp.core.results.PanelPompTrainResult¶
- class pypomp.core.results.PanelPompTrainResult(method: str, execution_time: float | None, key: Array, timestamp: Timestamp = <factory>, theta: PanelParameters | None = None, shared_traces: DataArray = <factory>, unit_traces: DataArray = <factory>, logLiks: DataArray = <factory>, optimizer: Optimizer = <factory>, J: int = 0, M: int = 0, eta: LearningRate | None = None, alpha: float = 0.97, alpha_cooling: float = 1.0)[source]¶
Bases:
PanelPompEstimationTracesMixin,PanelPompBaseResultResult from PanelPomp.train() method.
Methods
CLL([average])Return conditional log-likelihoods as a DataFrame.
ESS([average])Return Effective Sample Size as a DataFrame.
__init__(method, execution_time, key, ...)merge(*results)Merge multiple result objects of the same type.
print_summary([n])Print a summary of this result.
to_dataframe([ignore_nan])Convert panel result to DataFrame.
traces()Return panel result formatted as traces (long format).
Attributes
JThe number of particles used for filtering.
MThe number of iterations performed.
alphaThe discount factor for the gradient moving average.
alpha_coolingThe cooling factor for the discount factor.
etaThe learning rate object.
thetaThe panel parameter object used for the computation.
shared_tracesShared parameter traces across iterations.
unit_tracesUnit-specific parameter traces across iterations.
logLiksLog-likelihoods for each unit across iterations.
optimizerThe optimizer used for training.
methodThe name of the method that produced this result (e.g., 'pfilter', 'mif').
execution_timeTotal execution time in seconds.
keyThe JAX random key used for this execution.
timestampThe date and time when the result was created.