pub struct SyntheticDataConfig {
pub num_samples: usize,
pub seed: u64,
pub add_circadian: bool,
pub add_missingness: bool,
pub missingness_rate: f64,
}Expand description
Parameters controlling the synthetic data generator.
Fields§
§num_samples: usizeNumber of samples (individuals) to generate.
seed: u64Random seed for reproducibility.
add_circadian: boolWhether to add realistic circadian structure to heart rate.
add_missingness: boolWhether to simulate missing data (realistic wearable dropout).
missingness_rate: f64Fraction of time-steps to mark as missing [0, 1].
Trait Implementations§
Source§impl Clone for SyntheticDataConfig
impl Clone for SyntheticDataConfig
Source§fn clone(&self) -> SyntheticDataConfig
fn clone(&self) -> SyntheticDataConfig
Returns a duplicate 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 SyntheticDataConfig
impl Debug for SyntheticDataConfig
Auto Trait Implementations§
impl Freeze for SyntheticDataConfig
impl RefUnwindSafe for SyntheticDataConfig
impl Send for SyntheticDataConfig
impl Sync for SyntheticDataConfig
impl Unpin for SyntheticDataConfig
impl UnsafeUnpin for SyntheticDataConfig
impl UnwindSafe for SyntheticDataConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more