welltest_pta.cross_validate_detector
- welltest_pta.cross_validate_detector(df, cfg=None, n_bootstrap=8, downsample_frac=0.85, perturbation=0.20, seed=42, print_report=True)[source]
Run all three CV checks and return a
DetectorCVResult.- Parameters:
df (
DataFrame) – Parsed gauge DataFrame (output ofwelltest_pta.parser.parse()).cfg (
Optional[EventDetectorConfig]) – Detector configuration. Defaults to standard V8.1 settings.n_bootstrap (
int) – Number of bootstrap replicas (≥4 recommended).downsample_frac (
float) – Fraction of points retained per replica.perturbation (
float) – Fractional change applied to each parameter (e.g. 0.20 = ±20 %).seed (
int) – RNG seed for reproducibility.print_report (
bool) – If True (default) prints the human-readable report.
- Return type: