Struct rusoto_forecast::Featurization
source · [−]pub struct Featurization {
pub attribute_name: String,
pub featurization_pipeline: Option<Vec<FeaturizationMethod>>,
}
Expand description
Provides featurization (transformation) information for a dataset field. This object is part of the FeaturizationConfig object.
For example:
{
"AttributeName": "demand",
FeaturizationPipeline [ {
"FeaturizationMethodName": "filling",
"FeaturizationMethodParameters": {"aggregation": "avg", "backfill": "nan"}
} ]
}
Fields
attribute_name: String
The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets. For example, for the RETAIL
domain, the target is demand
, and for the CUSTOM
domain, the target is target_value
. For more information, see howitworks-missing-values.
featurization_pipeline: Option<Vec<FeaturizationMethod>>
An array of one FeaturizationMethod
object that specifies the feature transformation method.
Trait Implementations
sourceimpl Clone for Featurization
impl Clone for Featurization
sourcefn clone(&self) -> Featurization
fn clone(&self) -> Featurization
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Featurization
impl Debug for Featurization
sourceimpl Default for Featurization
impl Default for Featurization
sourcefn default() -> Featurization
fn default() -> Featurization
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Featurization
impl<'de> Deserialize<'de> for Featurization
sourcefn 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
sourceimpl PartialEq<Featurization> for Featurization
impl PartialEq<Featurization> for Featurization
sourcefn eq(&self, other: &Featurization) -> bool
fn eq(&self, other: &Featurization) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Featurization) -> bool
fn ne(&self, other: &Featurization) -> bool
This method tests for !=
.
sourceimpl Serialize for Featurization
impl Serialize for Featurization
impl StructuralPartialEq for Featurization
Auto Trait Implementations
impl RefUnwindSafe for Featurization
impl Send for Featurization
impl Sync for Featurization
impl Unpin for Featurization
impl UnwindSafe for Featurization
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more