pub struct DummyOptions {
pub include_space_dummy: bool,
pub include_time_dummy: bool,
pub time_dummy_encoding: TimeDummyEncoding,
pub max_time_one_hot_levels: usize,
}Expand description
Options for synthesizing dataset / time dummy columns on a pooled frame.
Fields§
§include_space_dummy: boolOne-hot space (dataset) dummy with M−1 columns when M > 1.
include_time_dummy: boolWhen true, synthesize a time dummy under Self::time_dummy_encoding.
time_dummy_encoding: TimeDummyEncodingInteger index vs one-hot of T (ignored unless Self::include_time_dummy).
max_time_one_hot_levels: usizeFail-closed cap on distinct time levels for TimeDummyEncoding::OneHot.
Trait Implementations§
Source§impl Clone for DummyOptions
impl Clone for DummyOptions
Source§fn clone(&self) -> DummyOptions
fn clone(&self) -> DummyOptions
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 moreimpl Copy for DummyOptions
Source§impl Debug for DummyOptions
impl Debug for DummyOptions
Source§impl Default for DummyOptions
impl Default for DummyOptions
impl Eq for DummyOptions
Source§impl PartialEq for DummyOptions
impl PartialEq for DummyOptions
impl StructuralPartialEq for DummyOptions
Auto Trait Implementations§
impl Freeze for DummyOptions
impl RefUnwindSafe for DummyOptions
impl Send for DummyOptions
impl Sync for DummyOptions
impl Unpin for DummyOptions
impl UnsafeUnpin for DummyOptions
impl UnwindSafe for DummyOptions
Blanket Implementations§
impl<T> Allocation for T
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