/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A channel is a named input source that training algorithms can consume. The
* validation dataset size is limited to less than 2 GB. The training dataset size
* must be less than 100 GB. For more information, see
* Channel. A validation dataset must contain the same headers as
* the training dataset.See Also:
AWS
* API Reference
The data source for an AutoML channel.
*/ inline const AutoMLDataSource& GetDataSource() const{ return m_dataSource; } /** *The data source for an AutoML channel.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The data source for an AutoML channel.
*/ inline void SetDataSource(const AutoMLDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *The data source for an AutoML channel.
*/ inline void SetDataSource(AutoMLDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *The data source for an AutoML channel.
*/ inline AutoMLChannel& WithDataSource(const AutoMLDataSource& value) { SetDataSource(value); return *this;} /** *The data source for an AutoML channel.
*/ inline AutoMLChannel& WithDataSource(AutoMLDataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *You can use Gzip
or None
. The default value is
* None
.
You can use Gzip
or None
. The default value is
* None
.
You can use Gzip
or None
. The default value is
* None
.
You can use Gzip
or None
. The default value is
* None
.
You can use Gzip
or None
. The default value is
* None
.
You can use Gzip
or None
. The default value is
* None
.
The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; } /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; } /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; } /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); } /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); } /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;} /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;} /** *The name of the target variable in supervised learning, usually represented * by 'y'.
*/ inline AutoMLChannel& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;} /** *The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The content type of the data from the input source. You can use
* text/csv;header=present
or
* x-application/vnd.amazon+parquet
. The default value is
* text/csv;header=present
.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
The channel type (optional) is an enum
string. The default value
* is training
. Channels for training and validation must share the
* same ContentType
and TargetAttributeName
. For
* information on specifying training and validation channel types, see How
* to specify training and validation datasets.
If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline const Aws::String& GetSampleWeightAttributeName() const{ return m_sampleWeightAttributeName; } /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline bool SampleWeightAttributeNameHasBeenSet() const { return m_sampleWeightAttributeNameHasBeenSet; } /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline void SetSampleWeightAttributeName(const Aws::String& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = value; } /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline void SetSampleWeightAttributeName(Aws::String&& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = std::move(value); } /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline void SetSampleWeightAttributeName(const char* value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName.assign(value); } /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline AutoMLChannel& WithSampleWeightAttributeName(const Aws::String& value) { SetSampleWeightAttributeName(value); return *this;} /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline AutoMLChannel& WithSampleWeightAttributeName(Aws::String&& value) { SetSampleWeightAttributeName(std::move(value)); return *this;} /** *If specified, this column name indicates which column of the dataset should * be treated as sample weights for use by the objective metric during the * training, evaluation, and the selection of the best model. This column is not * considered as a predictive feature. For more information on Autopilot metrics, * see Metrics * and validation.
Sample weights should be numeric, non-negative, with * larger values indicating which rows are more important than others. Data points * that have invalid or no weight value are excluded.
Support for sample * weights is available in Ensembling * mode only.
*/ inline AutoMLChannel& WithSampleWeightAttributeName(const char* value) { SetSampleWeightAttributeName(value); return *this;} private: AutoMLDataSource m_dataSource; bool m_dataSourceHasBeenSet = false; CompressionType m_compressionType; bool m_compressionTypeHasBeenSet = false; Aws::String m_targetAttributeName; bool m_targetAttributeNameHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; AutoMLChannelType m_channelType; bool m_channelTypeHasBeenSet = false; Aws::String m_sampleWeightAttributeName; bool m_sampleWeightAttributeNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws