cbx.utils.resampling.ensemble_update_resampling#

class cbx.utils.resampling.ensemble_update_resampling(update_thresh)[source]#

Bases: object

Resampling based on ensemble update difference

Parameters:

update_thresh (float) – The threshold for ensemble update difference. When the update difference is less than this threshold, the ensemble is resampled.

Return type:

The indices of the runs to resample as a numpy array.

__call__(dyn)[source]#

Call self as a function.