pub trait RowSubsampleMaskExt {
// Required method
fn from_options(options: &BlockwiseFitOptions, n: usize) -> Self;
}Expand description
Extension trait carrying the BlockwiseFitOptions-coupled constructor for
RowSubsampleMask. The data type lives in gam-problem; this constructor
stays in gam-solve because it depends on BlockwiseFitOptions.
Required Methods§
Sourcefn from_options(options: &BlockwiseFitOptions, n: usize) -> Self
fn from_options(options: &BlockwiseFitOptions, n: usize) -> Self
Build a RowSubsampleMask from blockwise-fit options. The outer
optimizer is the sole source of outer_score_subsample; inner
paths read this once at the top of each TR iteration and freeze
it for every quantity in that iteration.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".