defaults
defaults
Default settings shared by the library and the app.
The GUI reads these instead of hard-coding its own copies, so the two can’t drift apart. Changing a value here changes the default everywhere.
Attributes
| Name | Description |
|---|---|
| BOOTSTRAP_MC_SAMPLES | Monte Carlo samples per bootstrap refit (fewer, to keep the bootstrap fast). |
| CONFIDENCE_LEVELS | Confidence levels (%) whose bounds every bootstrap computes. |
| DEFAULT_N_BOOT | Default number of bootstrap iterations for confidence bounds. |
| KRIGING_MAX_SAMPLES | Kriging is only fitted up to this many samples (every fit is O(N³)). |
| MAX_ALLOWED_VIF | Collinearity: largest allowed Variance Inflation Factor of any input. |
| MAX_AVG_CV | Bootstrap stability: largest allowed average prediction spread (relative to the response std). |
| MAX_GAP_RATIO | Input coverage: largest allowed gap, as a fraction of each input’s range. |
| MAX_MAX_CV | Bootstrap stability: largest allowed prediction spread at any probe point. |
| MAX_POLY_DEGREE | Highest polynomial degree among the candidate models. |
| MC_SAMPLES | Monte Carlo samples used to integrate out nuisance parameters for the PoD curve. |
| MIN_R2_SCORE | Model fit: minimum 10-fold cross-validated R² (also the Model Diagnostics pass mark). |
| N_CV_FOLDS | Folds used to cross-validate the candidate models. |
| N_THRESHOLD_POINTS | Number of thresholds in the pre-computed threshold spectrum (compute_pod_spectrum). |
| TARGET_PODS | Target PoDs (%) in the reliability (aX/Y) table. |