nnpiv.diagnostics.relative_wellposedness_sieve_diagnostic
- nnpiv.diagnostics.relative_wellposedness_sieve_diagnostic(A, C, C_prime, *, sieve_grid=None, eta_grid=None, enforce_nested_rff=True, stability_growth_tol=5.0, **kwargs)[source]
Run the pre-estimation diagnostic over a sieve and eta path.
- Parameters
A (array-like) – Inputs passed to
relative_wellposedness_diagnostic(). Arrays must be row-aligned with common sample sizen.C (array-like) – Inputs passed to
relative_wellposedness_diagnostic(). Arrays must be row-aligned with common sample sizen.C_prime (array-like) – Inputs passed to
relative_wellposedness_diagnostic(). Arrays must be row-aligned with common sample sizen.sieve_grid (iterable, optional) – Sieve values. For
feature_map='rff', entries map ton_features. Forfeature_map='polynomial', entries map topoly_degree. Entries may also be dictionaries of per-call keyword overrides. IfNone, defaults are chosen by feature map.eta_grid (float or iterable of float, optional) – Stabilization values. If
None, usesetafromkwargs(or1e-6).enforce_nested_rff (bool, default=True) – If
Trueand applicable, compute one large RFF map and reuse nested prefixes across sieve values for speed and consistency.stability_growth_tol (float, default=5.0) – Growth threshold used in the summary
stable_flagcalculation.**kwargs – Additional arguments forwarded to
relative_wellposedness_diagnostic().
- Returns
Dictionary with two keys:
rows: list of row-level diagnostics for each(eta, sieve)pair.summary: aggregate stability metrics and path metadata.
- Return type
dict
Notes
This function is a path wrapper around
relative_wellposedness_diagnostic(); it does not alter the underlying diagnostic definition.