pub struct TemporalFeatureExtractorConfig {Show 14 fields
pub extract_year: bool,
pub extract_month: bool,
pub extract_day: bool,
pub extract_day_of_week: bool,
pub extract_hour: bool,
pub extract_minute: bool,
pub extract_second: bool,
pub extract_quarter: bool,
pub extract_day_of_year: bool,
pub extract_week_of_year: bool,
pub cyclical_encoding: bool,
pub include_holidays: bool,
pub include_business_days: bool,
pub timezone_offset: Option<Float>,
}Expand description
Configuration for TemporalFeatureExtractor
Fields§
§extract_year: boolWhether to extract year
extract_month: boolWhether to extract month
extract_day: boolWhether to extract day of month
extract_day_of_week: boolWhether to extract day of week (0=Monday, 6=Sunday)
extract_hour: boolWhether to extract hour
extract_minute: boolWhether to extract minute
extract_second: boolWhether to extract second
extract_quarter: boolWhether to extract quarter
extract_day_of_year: boolWhether to extract day of year
extract_week_of_year: boolWhether to extract week of year
cyclical_encoding: boolWhether to use cyclical encoding for periodic features (sin/cos)
include_holidays: boolWhether to include holiday indicators
include_business_days: boolWhether to include business day indicators
timezone_offset: Option<Float>Time zone offset in hours from UTC (for timezone-aware processing)
Trait Implementations§
Source§impl Clone for TemporalFeatureExtractorConfig
impl Clone for TemporalFeatureExtractorConfig
Source§fn clone(&self) -> TemporalFeatureExtractorConfig
fn clone(&self) -> TemporalFeatureExtractorConfig
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 moreAuto Trait Implementations§
impl Freeze for TemporalFeatureExtractorConfig
impl RefUnwindSafe for TemporalFeatureExtractorConfig
impl Send for TemporalFeatureExtractorConfig
impl Sync for TemporalFeatureExtractorConfig
impl Unpin for TemporalFeatureExtractorConfig
impl UnwindSafe for TemporalFeatureExtractorConfig
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> 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