estimate_compute_time
estimate_compute_time(model_type, n_boot, n_nuisances, n_jobs)Estimates how long a PoD calculation will take, in seconds.
A rough heuristic based on the number of samples. It accounts for the first model-selection pass (cross-validation, done when nothing is cached yet), the cost of Kriging, Monte Carlo integration over nuisance inputs and bootstrap parallelism. Intended for progress estimates, not precise timing.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| model_type | str | "polynomial" or "kriging" (case-insensitive). |
required |
| n_boot | int | Number of bootstrap iterations; 0 for a single fit. | required |
| n_nuisances | int | Number of nuisance inputs integrated out. | required |
| n_jobs | int | Parallel workers for the bootstrap (as in pod()). |
required |
Returns
| Name | Type | Description |
|---|---|---|
| float | float | Estimated time in seconds (0.0 if there is no data). |