logo
pub struct SupplementaryFeature {
    pub name: String,
    pub value: String,
}
Expand description

Describes a supplementary feature of a dataset group. This object is part of the InputDataConfig object. Forecast supports the Weather Index and Holidays built-in featurizations.

Weather Index

The Amazon Forecast Weather Index is a built-in featurization that incorporates historical and projected weather information into your model. The Weather Index supplements your datasets with over two years of historical weather data and up to 14 days of projected weather data. For more information, see Amazon Forecast Weather Index.

Holidays

Holidays is a built-in featurization that incorporates a feature-engineered dataset of national holiday information into your model. It provides native support for the holiday calendars of 66 countries. To view the holiday calendars, refer to the Jollyday library. For more information, see Holidays Featurization.

Fields

name: String

The name of the feature. Valid values: "holiday" and "weather".

value: String

Weather Index

To enable the Weather Index, set the value to "true"

Holidays

To enable Holidays, specify a country with one of the following two-letter country codes:

  • "AL" - ALBANIA

  • "AR" - ARGENTINA

  • "AT" - AUSTRIA

  • "AU" - AUSTRALIA

  • "BA" - BOSNIA HERZEGOVINA

  • "BE" - BELGIUM

  • "BG" - BULGARIA

  • "BO" - BOLIVIA

  • "BR" - BRAZIL

  • "BY" - BELARUS

  • "CA" - CANADA

  • "CL" - CHILE

  • "CO" - COLOMBIA

  • "CR" - COSTA RICA

  • "HR" - CROATIA

  • "CZ" - CZECH REPUBLIC

  • "DK" - DENMARK

  • "EC" - ECUADOR

  • "EE" - ESTONIA

  • "ET" - ETHIOPIA

  • "FI" - FINLAND

  • "FR" - FRANCE

  • "DE" - GERMANY

  • "GR" - GREECE

  • "HU" - HUNGARY

  • "IS" - ICELAND

  • "IN" - INDIA

  • "IE" - IRELAND

  • "IT" - ITALY

  • "JP" - JAPAN

  • "KZ" - KAZAKHSTAN

  • "KR" - KOREA

  • "LV" - LATVIA

  • "LI" - LIECHTENSTEIN

  • "LT" - LITHUANIA

  • "LU" - LUXEMBOURG

  • "MK" - MACEDONIA

  • "MT" - MALTA

  • "MX" - MEXICO

  • "MD" - MOLDOVA

  • "ME" - MONTENEGRO

  • "NL" - NETHERLANDS

  • "NZ" - NEW ZEALAND

  • "NI" - NICARAGUA

  • "NG" - NIGERIA

  • "NO" - NORWAY

  • "PA" - PANAMA

  • "PY" - PARAGUAY

  • "PE" - PERU

  • "PL" - POLAND

  • "PT" - PORTUGAL

  • "RO" - ROMANIA

  • "RU" - RUSSIA

  • "RS" - SERBIA

  • "SK" - SLOVAKIA

  • "SI" - SLOVENIA

  • "ZA" - SOUTH AFRICA

  • "ES" - SPAIN

  • "SE" - SWEDEN

  • "CH" - SWITZERLAND

  • "UA" - UKRAINE

  • "AE" - UNITED ARAB EMIRATES

  • "US" - UNITED STATES

  • "UK" - UNITED KINGDOM

  • "UY" - URUGUAY

  • "VE" - VENEZUELA

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more