shrinkage::RowSubset
Shrinkage for Rust · rust · 0.3.0
Source: src/cross_validation/rows.rs
Select raw observations before fitting training-fold preprocessing.
Selected designs retain column order and use the same backend error type. Implementations must neither estimate nor apply normalization. The built-in dense and CSC integrations copy only selected entries into owned storage, then delegate statistics and products to LazyMatrix's backend integrations. Custom backends can supply their own raw selection implementation.
Associated types
Subset
Source: src/cross_validation/rows.rs
type Subset: + ;Selected raw design used by the fold's ordinary path solver.
Methods
select_rows
Source: src/cross_validation/rows.rs
Select strictly increasing original row indices without changing columns.
Errors
Reject repeated, unsorted, or out-of-bounds indices and backend failures.
