pub struct ModelParams {
pub m: Vec<Vec<f32>>,
pub u: Vec<Vec<f32>>,
pub log_prior_odds: f32,
pub upper_threshold: f32,
pub lower_threshold: f32,
}Expand description
Learned Fellegi-Sunter m/u parameters and classification thresholds for one schema.
Fields§
§m: Vec<Vec<f32>>§u: Vec<Vec<f32>>§log_prior_odds: f32§upper_threshold: f32§lower_threshold: f32Trait Implementations§
Source§impl Clone for ModelParams
impl Clone for ModelParams
Source§fn clone(&self) -> ModelParams
fn clone(&self) -> ModelParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelParams
impl Debug for ModelParams
Source§impl<'de> Deserialize<'de> for ModelParams
impl<'de> Deserialize<'de> for ModelParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelParams
impl RefUnwindSafe for ModelParams
impl Send for ModelParams
impl Sync for ModelParams
impl Unpin for ModelParams
impl UnsafeUnpin for ModelParams
impl UnwindSafe for ModelParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more