#[non_exhaustive]pub struct TimeSeriesForecastingJobConfig {
pub feature_specification_s3_uri: Option<String>,
pub completion_criteria: Option<AutoMlJobCompletionCriteria>,
pub forecast_frequency: Option<String>,
pub forecast_horizon: Option<i32>,
pub forecast_quantiles: Option<Vec<String>>,
pub transformations: Option<TimeSeriesTransformations>,
pub time_series_config: Option<TimeSeriesConfig>,
}
Expand description
The collection of settings used by an AutoML job V2 for the time-series forecasting problem type.
The TimeSeriesForecastingJobConfig
problem type is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.feature_specification_s3_uri: Option<String>
A URL to the Amazon S3 data source containing additional selected features that complement the target, itemID, timestamp, and grouped columns set in TimeSeriesConfig
. When not provided, the AutoML job V2 includes all the columns from the original dataset that are not already declared in TimeSeriesConfig
. If provided, the AutoML job V2 only considers these additional columns as a complement to the ones declared in TimeSeriesConfig
.
You can input FeatureAttributeNames
(optional) in JSON format as shown below:
{ "FeatureAttributeNames":["col1", "col2", ...] }
.
You can also specify the data type of the feature (optional) in the format shown below:
{ "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }
Autopilot supports the following data types: numeric
, categorical
, text
, and datetime
.
These column keys must not include any column set in TimeSeriesConfig
.
completion_criteria: Option<AutoMlJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
forecast_frequency: Option<String>
The frequency of predictions in a forecast.
Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, 1D
indicates every day and 15min
indicates every 15 minutes. The value of a frequency must not overlap with the next larger frequency. For example, you must use a frequency of 1H
instead of 60min
.
The valid values for each frequency are the following:
-
Minute - 1-59
-
Hour - 1-23
-
Day - 1-6
-
Week - 1-4
-
Month - 1-11
-
Year - 1
forecast_horizon: Option<i32>
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the time-steps in the dataset.
forecast_quantiles: Option<Vec<String>>
The quantiles used to train the model for forecasts at a specified quantile. You can specify quantiles from 0.01
(p1) to 0.99
(p99), by increments of 0.01 or higher. Up to five forecast quantiles can be specified. When ForecastQuantiles
is not provided, the AutoML job uses the quantiles p10, p50, and p90 as default.
transformations: Option<TimeSeriesTransformations>
The transformations modifying specific attributes of the time-series, such as filling strategies for missing values.
time_series_config: Option<TimeSeriesConfig>
The collection of components that defines the time-series.
Implementations§
source§impl TimeSeriesForecastingJobConfig
impl TimeSeriesForecastingJobConfig
sourcepub fn feature_specification_s3_uri(&self) -> Option<&str>
pub fn feature_specification_s3_uri(&self) -> Option<&str>
A URL to the Amazon S3 data source containing additional selected features that complement the target, itemID, timestamp, and grouped columns set in TimeSeriesConfig
. When not provided, the AutoML job V2 includes all the columns from the original dataset that are not already declared in TimeSeriesConfig
. If provided, the AutoML job V2 only considers these additional columns as a complement to the ones declared in TimeSeriesConfig
.
You can input FeatureAttributeNames
(optional) in JSON format as shown below:
{ "FeatureAttributeNames":["col1", "col2", ...] }
.
You can also specify the data type of the feature (optional) in the format shown below:
{ "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }
Autopilot supports the following data types: numeric
, categorical
, text
, and datetime
.
These column keys must not include any column set in TimeSeriesConfig
.
sourcepub fn completion_criteria(&self) -> Option<&AutoMlJobCompletionCriteria>
pub fn completion_criteria(&self) -> Option<&AutoMlJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn forecast_frequency(&self) -> Option<&str>
pub fn forecast_frequency(&self) -> Option<&str>
The frequency of predictions in a forecast.
Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, 1D
indicates every day and 15min
indicates every 15 minutes. The value of a frequency must not overlap with the next larger frequency. For example, you must use a frequency of 1H
instead of 60min
.
The valid values for each frequency are the following:
-
Minute - 1-59
-
Hour - 1-23
-
Day - 1-6
-
Week - 1-4
-
Month - 1-11
-
Year - 1
sourcepub fn forecast_horizon(&self) -> Option<i32>
pub fn forecast_horizon(&self) -> Option<i32>
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the time-steps in the dataset.
sourcepub fn forecast_quantiles(&self) -> Option<&[String]>
pub fn forecast_quantiles(&self) -> Option<&[String]>
The quantiles used to train the model for forecasts at a specified quantile. You can specify quantiles from 0.01
(p1) to 0.99
(p99), by increments of 0.01 or higher. Up to five forecast quantiles can be specified. When ForecastQuantiles
is not provided, the AutoML job uses the quantiles p10, p50, and p90 as default.
sourcepub fn transformations(&self) -> Option<&TimeSeriesTransformations>
pub fn transformations(&self) -> Option<&TimeSeriesTransformations>
The transformations modifying specific attributes of the time-series, such as filling strategies for missing values.
sourcepub fn time_series_config(&self) -> Option<&TimeSeriesConfig>
pub fn time_series_config(&self) -> Option<&TimeSeriesConfig>
The collection of components that defines the time-series.
source§impl TimeSeriesForecastingJobConfig
impl TimeSeriesForecastingJobConfig
sourcepub fn builder() -> TimeSeriesForecastingJobConfigBuilder
pub fn builder() -> TimeSeriesForecastingJobConfigBuilder
Creates a new builder-style object to manufacture TimeSeriesForecastingJobConfig
.
Trait Implementations§
source§impl Clone for TimeSeriesForecastingJobConfig
impl Clone for TimeSeriesForecastingJobConfig
source§fn clone(&self) -> TimeSeriesForecastingJobConfig
fn clone(&self) -> TimeSeriesForecastingJobConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<TimeSeriesForecastingJobConfig> for TimeSeriesForecastingJobConfig
impl PartialEq<TimeSeriesForecastingJobConfig> for TimeSeriesForecastingJobConfig
source§fn eq(&self, other: &TimeSeriesForecastingJobConfig) -> bool
fn eq(&self, other: &TimeSeriesForecastingJobConfig) -> bool
self
and other
values to be equal, and is used
by ==
.