Expand description
CMAC-based utilities for imputing missing floating-point observations.
§Examples
use cmac_rust::Cmac;
use std::f64;
let data = vec![1.0, f64::NAN, 1.0];
let mut cmac = Cmac::new(data, 1);
let filled = cmac.impute(0.5, 4);
assert!(!filled[1].is_nan());Re-exports§
pub use crate::cmac::Cmac;
Modules§
- cmac
- Core CMAC implementation used by the crate.
- prelude
- Prelude containing the primary types exported by this crate.
Type Aliases§
- CMAC
- Backwards-compatible alias that preserves the original type name.