Skip to main content

ImputerFloat

Trait ImputerFloat 

Source
pub trait ImputerFloat:
    LinalgFloat
    + ScalarOperand
    + FromPrimitive
    + Send
    + Sync
    + 'static { }
Expand description

Float bound under which the round-robin can route through ferrolearn_linear::BayesianRidge: the exact bound BayesianRidge::fit / FittedBayesianRidge::predict require (LinalgFloat + ScalarOperand + FromPrimitive, sklearn default estimator _iterative.py:732-735). A blanket impl provides it for every such type (f32/f64), so the rest of the file names a single tidy bound. The ferray::linalg::LinalgFloat bound enters via BayesianRidge (which already sits on the ferray SVD substrate); the IterativeImputer’s OWN compute remains ndarray/num_traits (REQ-14 substrate migration stays NOT-STARTED — blocker #1415).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F> ImputerFloat for F
where F: LinalgFloat + ScalarOperand + FromPrimitive + Send + Sync + 'static,