Skip to main content

generic_domain_selection

Function generic_domain_selection 

Source
pub fn generic_domain_selection(
    model: &dyn FpcPredictor,
    data: &FdMatrix,
    scalar_covariates: Option<&FdMatrix>,
    window_width: usize,
    threshold: f64,
    n_samples: usize,
    seed: u64,
) -> Option<DomainSelectionResult>
Expand description

Generic domain selection using SHAP-based functional importance.

Computes pointwise importance from the model’s effective β(t) reconstruction via SHAP weights, then finds important intervals via sliding window.