Class AutoMLChannel

    • Method Detail

      • dataSource

        public final AutoMLDataSource dataSource()

        The data source for an AutoML channel.

        Returns:
        The data source for an AutoML channel.
      • targetAttributeName

        public final String targetAttributeName()

        The name of the target variable in supervised learning, usually represented by 'y'.

        Returns:
        The name of the target variable in supervised learning, usually represented by 'y'.
      • contentType

        public final String contentType()

        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.

        Returns:
        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.
      • sampleWeightAttributeName

        public final String 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.

        Returns:
        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.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)