Struct light_curve_feature::FeatureExtractor [−][src]
pub struct FeatureExtractor<T, F> { /* fields omitted */ }
Expand description
The engine which extracts features one by one
- Depends on: as reuired by feature evaluators
- Minimum number of observations: as required by feature evaluators
- Number of features: total for all feature evaluators
Implementations
Trait Implementations
impl<'de, T, F> Deserialize<'de> for FeatureExtractor<T, F> where
T: Float,
F: FeatureEvaluator<T>,
impl<'de, T, F> Deserialize<'de> for FeatureExtractor<T, F> where
T: Float,
F: FeatureEvaluator<T>,
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
impl<T, F> FeatureEvaluator<T> for FeatureExtractor<T, F> where
T: Float,
F: FeatureEvaluator<T>,
impl<T, F> FeatureEvaluator<T> for FeatureExtractor<T, F> where
T: Float,
F: FeatureEvaluator<T>,
Get feature descriptions
Should return the vector of feature values or EvaluatorError
Should return the vector of feature values and fill invalid components with given value
Should return the size of vectors returned by eval()
and get_names()
Should return minimum time series length to successfully find feature value
Performs the conversion.
fn try_into(
self
) -> Result<FeatureExtractor<T, Self>, <Self as TryInto<FeatureExtractor<T, Self>>>::Error>
fn try_into(
self
) -> Result<FeatureExtractor<T, Self>, <Self as TryInto<FeatureExtractor<T, Self>>>::Error>
Performs the conversion.
Auto Trait Implementations
impl<T, F> RefUnwindSafe for FeatureExtractor<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for FeatureExtractor<T, F> where
F: Send,
T: Send,
impl<T, F> Sync for FeatureExtractor<T, F> where
F: Sync,
T: Sync,
impl<T, F> Unpin for FeatureExtractor<T, F> where
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for FeatureExtractor<T, F> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
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.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.