[][src]Struct rusoto_forecast::FeaturizationMethod

pub struct FeaturizationMethod {
    pub featurization_method_name: String,
    pub featurization_method_parameters: Option<HashMap<String, String>>,
}

Provides information about the method that featurizes (transforms) a dataset field. The method is part of the FeaturizationPipeline of the Featurization object. If you don't specify FeaturizationMethodParameters, Amazon Forecast uses default parameters.

The following is an example of how you specify a FeaturizationMethod object.

{

"FeaturizationMethodName": "filling",

"FeaturizationMethodParameters": {"aggregation": "avg", "backfill": "nan"}

}

Fields

featurization_method_name: String

The name of the method. The "filling" method is the only supported method.

featurization_method_parameters: Option<HashMap<String, String>>

The method parameters (key-value pairs). Specify these parameters to override the default values. The following list shows the parameters and their valid values. Bold signifies the default value.

  • aggregation: sum, avg, first, min, max

  • frontfill: none

  • middlefill: zero, nan (not a number)

  • backfill: zero, nan

Trait Implementations

impl Clone for FeaturizationMethod[src]

impl Debug for FeaturizationMethod[src]

impl Default for FeaturizationMethod[src]

impl<'de> Deserialize<'de> for FeaturizationMethod[src]

impl PartialEq<FeaturizationMethod> for FeaturizationMethod[src]

impl Serialize for FeaturizationMethod[src]

impl StructuralPartialEq for FeaturizationMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.