pub fn predict_functional_logistic(
fit: &FunctionalLogisticResult,
new_data: &FdMatrix,
new_scalar: Option<&FdMatrix>,
) -> Vec<f64>Expand description
Predict probabilities P(Y=1) for new data using a fitted functional logistic model.
Projects new curves through the stored FPCA, computes linear predictor, and applies sigmoid.
§Arguments
fit— A fittedFunctionalLogisticResultnew_data— New functional predictor matrix (n_new × m)new_scalar— Optional new scalar covariates (n_new × p)