pub struct CMABGroupConfig {
pub alpha: f64,
pub intercept: f64,
pub records: u64,
pub weights_numerical: HashMap<String, f64>,
pub weights_categorical: HashMap<String, HashMap<String, f64>>,
}
Fields§
§alpha: f64
§intercept: f64
§records: u64
§weights_numerical: HashMap<String, f64>
§weights_categorical: HashMap<String, HashMap<String, f64>>
Trait Implementations§
Source§impl Clone for CMABGroupConfig
impl Clone for CMABGroupConfig
Source§fn clone(&self) -> CMABGroupConfig
fn clone(&self) -> CMABGroupConfig
Returns a copy of the value. Read more
1.0.0 · 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 CMABGroupConfig
impl Debug for CMABGroupConfig
Source§impl<'de> Deserialize<'de> for CMABGroupConfig
impl<'de> Deserialize<'de> for CMABGroupConfig
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
Source§impl PartialEq for CMABGroupConfig
impl PartialEq for CMABGroupConfig
Source§impl Serialize for CMABGroupConfig
impl Serialize for CMABGroupConfig
impl StructuralPartialEq for CMABGroupConfig
Auto Trait Implementations§
impl Freeze for CMABGroupConfig
impl RefUnwindSafe for CMABGroupConfig
impl Send for CMABGroupConfig
impl Sync for CMABGroupConfig
impl Unpin for CMABGroupConfig
impl UnwindSafe for CMABGroupConfig
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