SyntheticControlPlanner.profile_durations#

SyntheticControlPlanner.profile_durations(durations, selection_origins, *, audit_origins=(), relative_lifts=None, absolute_lifts=None, target_lift, target_scale=None, exclusions=(), cadence=None, max_fits=24, fit_cost=None, min_training_periods=2, sample_kwargs=None)[source]#

Run the comparison twice and record cold and warm wall time.

Parameters:
Returns:

Cold and warm seconds, the fit-versus-score split, and the process peak RSS. The peak includes the PyTensor cache. It is not a launch recommendation.

Return type:

DurationProfile