matflow.subset_simulation.subset_simulation_result.DALevelSamplingResult#
- class matflow.subset_simulation.subset_simulation_result.DALevelSamplingResult(chains, debug_data=None)#
Bases:
LevelSamplingResultResult of one delayed-acceptance conditional level.
Methods
Attributes
Fraction of all inner coarse-MH proposals accepted.
Fraction of fine-subset endpoints also in the coarse subset.
Return the aggregate MMH component acceptance rate.
Optional algorithm-specific debugging information.
Fraction of coarse subchains whose endpoints moved.
Fraction of fine-subset endpoints accepted by correction.
Fraction of outer transitions requiring fine evaluation.
Fraction of fine-evaluated endpoints in the fine subset.
Fine performance values associated with the sampled states.
Stored coarse values with shape
(chains, states).Sum of RMS jump distances over all outer-chain transitions.
Return per-transition RMS jump distances, if retained.
Return the mean RMS distance between adjacent stored states.
Number of Markov chains used to generate the level.
Total number of coarse performance-function evaluations.
Total number of MMH component proposals accepted.
Total number of MMH component proposals attempted.
Total number of fine performance-function evaluations.
Total number of stored outer-chain transitions that change state.
Total number of stored states across all chains.
Total number of candidates passing the fine subset condition.
Total number of candidates tested against the fine subset condition.
Total number of attempted outer-chain transitions.
Return the fraction of stored outer-chain transitions that move.
Return the fraction of candidates passing the fine subset condition.
Sampled states, arranged as
(chains, states, dimensions).Results for the individual Markov chains used to generate this level.
- Parameters:
chains (tuple[MarkovChainResult, ...]) –
- chains: tuple[MarkovChainResult, ...]#
Results for the individual Markov chains used to generate this level.
- property component_acceptance_rate: float#
Return the aggregate MMH component acceptance rate.
The rate includes MMH component proposals belonging to candidate states that subsequently fail the Subset Simulation condition.
- property fine_correction_acceptance_rate: float#
Fraction of fine-subset endpoints accepted by correction.
- property jump_distances: ndarray | None#
Return per-transition RMS jump distances, if retained.
The resulting array has shape
(chains, transitions). The value isNoneif detailed jump distances were not retained for every chain.
- property mean_jump_distance: float#
Return the mean RMS distance between adjacent stored states.
Rejected outer transitions contribute a zero jump distance.
- property num_subset_trials: int#
Total number of candidates tested against the fine subset condition.