pub struct Builder { /* private fields */ }
Expand description
A builder for AutoMlCandidateGenerationConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn feature_specification_s3_uri(self, input: impl Into<String>) -> Self
pub fn feature_specification_s3_uri(self, input: impl Into<String>) -> Self
A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job. 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" ... } }
These column keys may not include the target column.
In ensembling mode, Autopilot will only support the following data types: numeric
, categorical
, text
and datetime
. In HPO mode, Autopilot can support numeric
, categorical
, text
, datetime
and sequence
.
If only FeatureDataTypes
is provided, the column keys (col1
, col2
,..) should be a subset of the column names in the input data.
If both FeatureDataTypes
and FeatureAttributeNames
are provided, then the column keys should be a subset of the column names provided in FeatureAttributeNames
.
The key name FeatureAttributeNames
is fixed. The values listed in ["col1", "col2", ...]
is case sensitive and should be a list of strings containing unique values that are a subset of the column names in the input data. The list of columns provided must not include the target column.
sourcepub fn set_feature_specification_s3_uri(self, input: Option<String>) -> Self
pub fn set_feature_specification_s3_uri(self, input: Option<String>) -> Self
A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job. 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" ... } }
These column keys may not include the target column.
In ensembling mode, Autopilot will only support the following data types: numeric
, categorical
, text
and datetime
. In HPO mode, Autopilot can support numeric
, categorical
, text
, datetime
and sequence
.
If only FeatureDataTypes
is provided, the column keys (col1
, col2
,..) should be a subset of the column names in the input data.
If both FeatureDataTypes
and FeatureAttributeNames
are provided, then the column keys should be a subset of the column names provided in FeatureAttributeNames
.
The key name FeatureAttributeNames
is fixed. The values listed in ["col1", "col2", ...]
is case sensitive and should be a list of strings containing unique values that are a subset of the column names in the input data. The list of columns provided must not include the target column.
sourcepub fn build(self) -> AutoMlCandidateGenerationConfig
pub fn build(self) -> AutoMlCandidateGenerationConfig
Consumes the builder and constructs a AutoMlCandidateGenerationConfig
.