ModelSamplerEstimator.run#

ModelSamplerEstimator.run(model)[source]#

Execute the estimation pipeline and return a single-row DataFrame.

Parameters:
modelModel

PyMC model to evaluate.

Returns:
pandas.DataFrame

Single-row DataFrame with columns including num_steps, eval_time_seconds, sequential_chains, and estimated sampling wall-clock time in seconds, minutes, and hours, along with metadata such as tune, draws, chains, seed, timestamp, and model_name.

Examples

df = ModelSamplerEstimator().run(model)
df[
    [
        "num_steps",
        "eval_time_seconds",
        "estimated_sampling_time_minutes",
    ]
]