Documentation

24.35 Failed fits, runtime, memory, and determinism

Every scheduled learner fit is tracked. Failures remain in the denominator; if their fraction exceeds resampling.max_failed_fraction (default 0.02), the run fails. Inspect replicate_status.csv for learner, ETA, replicate, and reason. Common causes are rank-deficient resamples, sparse levels, too-small fractions, or tuning failure.

Failure gates

Runtime multiplies across base draws, resamples, posterior draws, learners, and ETAs. Threads parallelize independent work, but results are deterministic for a fixed seed regardless of thread count. Memory/storage grow with posterior draws and replicate-selection outputs; enable large optional files only when needed.

A fast demonstration with 30–60 replicates is not a production stability estimate. Plan replicate count for interval precision and failure assessment.

Common mistakes

  • Removing failures from the denominator.
  • Increasing the failure limit without diagnosis.
  • Comparing runtime with different learner schedules.
  • Assuming more threads mean more replicates.
  • Writing huge draw files without storage/privacy planning.

Checklist

  • Calculate the scheduled fit count.
  • Review failures by learner/ETA/stratum.
  • Verify seed/thread invariance.
  • Budget runtime, memory, checkpoints, and optional outputs.
  • Increase replicates for production decisions.

Further reading

See draw scheduling, checkpointing, and outputs.