Skip to main content

domain_selection_logistic

Function domain_selection_logistic 

Source
pub fn domain_selection_logistic(
    fit: &FunctionalLogisticResult,
    window_width: usize,
    threshold: f64,
) -> Result<DomainSelectionResult, FdarError>
Expand description

Domain selection for a functional logistic regression model.

ยงErrors

Returns FdarError::InvalidParameter if beta_t, window_width, or threshold are invalid (e.g., empty beta_t, zero window_width, or window_width exceeding beta_t length).