Class ImageClassification


  • public final class ImageClassification
    extends AutoMLVertical
    Image Classification. Multi-class image classification is used when an image is classified with only a single label from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'.
    • Constructor Detail

      • ImageClassification

        public ImageClassification()
    • Method Detail

      • primaryMetric

        public ClassificationPrimaryMetrics primaryMetric()
        Get the primaryMetric property: Primary metric to optimize for this task.
        Returns:
        the primaryMetric value.
      • withPrimaryMetric

        public ImageClassification withPrimaryMetric​(ClassificationPrimaryMetrics primaryMetric)
        Set the primaryMetric property: Primary metric to optimize for this task.
        Parameters:
        primaryMetric - the primaryMetric value to set.
        Returns:
        the ImageClassification object itself.
      • modelSettings

        public ImageModelSettingsClassification modelSettings()
        Get the modelSettings property: Settings used for training the model.
        Returns:
        the modelSettings value.
      • withModelSettings

        public ImageClassification withModelSettings​(ImageModelSettingsClassification modelSettings)
        Set the modelSettings property: Settings used for training the model.
        Parameters:
        modelSettings - the modelSettings value to set.
        Returns:
        the ImageClassification object itself.
      • withSearchSpace

        public ImageClassification withSearchSpace​(List<ImageModelDistributionSettingsClassification> searchSpace)
        Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.
        Parameters:
        searchSpace - the searchSpace value to set.
        Returns:
        the ImageClassification object itself.
      • dataSettings

        public ImageVerticalDataSettings dataSettings()
        Get the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.
        Returns:
        the dataSettings value.
      • withDataSettings

        public ImageClassification withDataSettings​(ImageVerticalDataSettings dataSettings)
        Set the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.
        Parameters:
        dataSettings - the dataSettings value to set.
        Returns:
        the ImageClassification object itself.
      • limitSettings

        public ImageLimitSettings limitSettings()
        Get the limitSettings property: [Required] Limit settings for the AutoML job.
        Returns:
        the limitSettings value.
      • withLimitSettings

        public ImageClassification withLimitSettings​(ImageLimitSettings limitSettings)
        Set the limitSettings property: [Required] Limit settings for the AutoML job.
        Parameters:
        limitSettings - the limitSettings value to set.
        Returns:
        the ImageClassification object itself.
      • sweepSettings

        public ImageSweepSettings sweepSettings()
        Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
        Returns:
        the sweepSettings value.
      • withSweepSettings

        public ImageClassification withSweepSettings​(ImageSweepSettings sweepSettings)
        Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
        Parameters:
        sweepSettings - the sweepSettings value to set.
        Returns:
        the ImageClassification object itself.
      • withLogVerbosity

        public ImageClassification withLogVerbosity​(LogVerbosity logVerbosity)
        Set the logVerbosity property: Log verbosity for the job.
        Overrides:
        withLogVerbosity in class AutoMLVertical
        Parameters:
        logVerbosity - the logVerbosity value to set.
        Returns:
        the AutoMLVertical object itself.