shrinkage::RuntimeDesign
Shrinkage for Rust · rust · 0.3.0
Source: src/problem/runtime.rs
Object-safe preparation of a runtime-selected design.
Entry validation and generic column views remain in the concrete adapter. Preparation allocates reusable native product buffers once per fit and resolves automatic normalization using the selected datafit's intercept.
Methods
ncols
Source: src/problem/runtime.rs
Number of training features.
nrows
Source: src/problem/runtime.rs
Number of training observations.
prepare
Source: src/problem/runtime.rs
Validate the design and prepare its normalized product oracle.
Errors
Reject invalid data or normalization vectors and preserve failures from backend statistics with their operation context and source.
Implementation of RuntimeDesign
Source: src/problem/runtime.rs
