[−][src]Struct rusoto_forecast::FeaturizationMethod
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]
fn clone(&self) -> FeaturizationMethod
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FeaturizationMethod
[src]
impl Default for FeaturizationMethod
[src]
fn default() -> FeaturizationMethod
[src]
impl<'de> Deserialize<'de> for FeaturizationMethod
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<FeaturizationMethod> for FeaturizationMethod
[src]
fn eq(&self, other: &FeaturizationMethod) -> bool
[src]
fn ne(&self, other: &FeaturizationMethod) -> bool
[src]
impl Serialize for FeaturizationMethod
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for FeaturizationMethod
[src]
Auto Trait Implementations
impl RefUnwindSafe for FeaturizationMethod
impl Send for FeaturizationMethod
impl Sync for FeaturizationMethod
impl Unpin for FeaturizationMethod
impl UnwindSafe for FeaturizationMethod
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,
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, 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> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,