pub struct TimeStandardDeviation {}Expand description
Standard deviation of time moments
$$ \sigma_t \equiv \frac{\sum_i {(t_i - \langle t \rangle)^2}}{N - 1}. $$
Note: highly cadence-dependent feature.
- Depends on: time
- Minimum number of observations: 2
- Number of features: 1
Implementations§
Trait Implementations§
source§impl Clone for TimeStandardDeviation
 
impl Clone for TimeStandardDeviation
source§fn clone(&self) -> TimeStandardDeviation
 
fn clone(&self) -> TimeStandardDeviation
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 TimeStandardDeviation
 
impl Debug for TimeStandardDeviation
source§impl Default for TimeStandardDeviation
 
impl Default for TimeStandardDeviation
source§fn default() -> TimeStandardDeviation
 
fn default() -> TimeStandardDeviation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimeStandardDeviation
 
impl<'de> Deserialize<'de> for TimeStandardDeviation
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 EvaluatorInfoTrait for TimeStandardDeviation
 
impl EvaluatorInfoTrait for TimeStandardDeviation
source§fn min_ts_length(&self) -> usize
 
fn min_ts_length(&self) -> usize
Minimum time series length required to successfully evaluate feature
source§fn is_t_required(&self) -> bool
 
fn is_t_required(&self) -> bool
If time array used by the feature
source§fn is_m_required(&self) -> bool
 
fn is_m_required(&self) -> bool
If magnitude array is used by the feature
source§fn is_w_required(&self) -> bool
 
fn is_w_required(&self) -> bool
If weight array is used by the feature
source§fn is_sorting_required(&self) -> bool
 
fn is_sorting_required(&self) -> bool
If feature requires time-sorting on the input TimeSeries
source§impl<T> FeatureEvaluator<T> for TimeStandardDeviationwhere
    T: Float,
 
impl<T> FeatureEvaluator<T> for TimeStandardDeviationwhere
    T: Float,
source§fn eval(&self, ts: &mut TimeSeries<'_, T>) -> Result<Vec<T>, EvaluatorError>
 
fn eval(&self, ts: &mut TimeSeries<'_, T>) -> Result<Vec<T>, EvaluatorError>
Vector of feature values or 
EvaluatorErrorsource§fn eval_or_fill(&self, ts: &mut TimeSeries<'_, T>, fill_value: T) -> Vec<T>
 
fn eval_or_fill(&self, ts: &mut TimeSeries<'_, T>, fill_value: T) -> Vec<T>
Returns vector of feature values and fill invalid components with given value
source§fn check_ts_length(
    &self,
    ts: &TimeSeries<'_, T>
) -> Result<usize, EvaluatorError>
 
fn check_ts_length( &self, ts: &TimeSeries<'_, T> ) -> Result<usize, EvaluatorError>
Checks if TimeSeries has enough points to evaluate the feature
source§impl<T> From<TimeStandardDeviation> for Feature<T>where
    T: Float,
 
impl<T> From<TimeStandardDeviation> for Feature<T>where
    T: Float,
source§fn from(v: TimeStandardDeviation) -> Feature<T>
 
fn from(v: TimeStandardDeviation) -> Feature<T>
Converts to this type from the input type.
source§impl JsonSchema for TimeStandardDeviation
 
impl JsonSchema for TimeStandardDeviation
source§fn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the 
$ref keyword. Read moresource§impl Serialize for TimeStandardDeviation
 
impl Serialize for TimeStandardDeviation
Auto Trait Implementations§
impl RefUnwindSafe for TimeStandardDeviation
impl Send for TimeStandardDeviation
impl Sync for TimeStandardDeviation
impl Unpin for TimeStandardDeviation
impl UnwindSafe for TimeStandardDeviation
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
    Scheme: ApproxScheme,
 
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
    Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
 
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme,
 
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme,
§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
 
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
 
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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, Dst> ConvAsUtil<Dst> for T
 
impl<T, Dst> ConvAsUtil<Dst> for T
source§impl<T> ConvUtil for T
 
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
    Self: Sized + ApproxInto<Dst>,
 
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
    Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
 
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.