pypomp.PanelParameters.pruned

PanelParameters.pruned(n: int = 1, refill: bool = True) Self

Return a new parameter set with the top n replicates by log-likelihood.

Parameters:
  • n (int, optional) – Number of top-performing parameter sets to keep. Defaults to 1.

  • refill (bool, optional) – If True, duplicate the top n sets to restore the original number of replicates. Defaults to True.

Returns:

A new parameter set containing the pruned replicates.

Return type:

Self