[−][src]Struct rusoto_forecast::FeaturizationConfig
In a CreatePredictor operation, the specified algorithm trains a model using the specified dataset group. You can optionally tell the operation to modify data fields prior to training a model. These modifications are referred to as featurization.
You define featurization using the FeaturizationConfig
object. You specify an array of transformations, one for each field that you want to featurize. You then include the FeaturizationConfig
object in your CreatePredictor
request. Amazon Forecast applies the featurization to the TARGET_TIME_SERIES
and RELATED_TIME_SERIES
datasets before model training.
You can create multiple featurization configurations. For example, you might call the CreatePredictor
operation twice by specifying different featurization configurations.
Fields
featurizations: Option<Vec<Featurization>>
An array of featurization (transformation) information for the fields of a dataset.
forecast_dimensions: Option<Vec<String>>
An array of dimension (field) names that specify how to group the generated forecast.
For example, suppose that you are generating a forecast for item sales across all of your stores, and your dataset contains a store_id
field. If you want the sales forecast for each item by store, you would specify store_id
as the dimension.
All forecast dimensions specified in the TARGET_TIME_SERIES
dataset don't need to be specified in the CreatePredictor
request. All forecast dimensions specified in the RELATED_TIME_SERIES
dataset must be specified in the CreatePredictor
request.
forecast_frequency: String
The frequency of predictions in a forecast.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "Y" indicates every year and "5min" indicates every five minutes.
The frequency must be greater than or equal to the TARGET_TIME_SERIES dataset frequency.
When a RELATED_TIME_SERIES dataset is provided, the frequency must be equal to the RELATED_TIME_SERIES dataset frequency.
Trait Implementations
impl Clone for FeaturizationConfig
[src]
pub fn clone(&self) -> FeaturizationConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FeaturizationConfig
[src]
impl Default for FeaturizationConfig
[src]
pub fn default() -> FeaturizationConfig
[src]
impl<'de> Deserialize<'de> for FeaturizationConfig
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<FeaturizationConfig> for FeaturizationConfig
[src]
pub fn eq(&self, other: &FeaturizationConfig) -> bool
[src]
pub fn ne(&self, other: &FeaturizationConfig) -> bool
[src]
impl Serialize for FeaturizationConfig
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for FeaturizationConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for FeaturizationConfig
[src]
impl Send for FeaturizationConfig
[src]
impl Sync for FeaturizationConfig
[src]
impl Unpin for FeaturizationConfig
[src]
impl UnwindSafe for FeaturizationConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,