Skip to main content

evaluate_externalgradient

Function evaluate_externalgradient 

Source
pub fn evaluate_externalgradient<X>(
    y: ArrayView1<'_, f64>,
    w: ArrayView1<'_, f64>,
    x: X,
    offset: ArrayView1<'_, f64>,
    s_list: &[BlockwisePenalty],
    opts: &ExternalOptimOptions,
    rho: &Array1<f64>,
) -> Result<Array1<f64>, EstimationError>
where X: Into<DesignMatrix>,
Expand description

Evaluate the analytic gradient of the external REML objective.