Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------

from azure.ai.ml._restclient.v2022_10_01_preview.models import LogVerbosity
from azure.ai.ml._restclient.v2022_12_01_preview.models import LogVerbosity
from azure.ai.ml._schema.automl.automl_job import AutoMLJobSchema
from azure.ai.ml._schema.core.fields import NestedField, StringTransformedEnum, UnionField
from azure.ai.ml._schema.job.input_output_entry import MLTableInputSchema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from marshmallow import fields as flds
from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import BlockedTransformers
from azure.ai.ml._restclient.v2022_12_01_preview.models import BlockedTransformers
from azure.ai.ml._schema.core.fields import NestedField, StringTransformedEnum, UnionField
from azure.ai.ml._schema.core.schema import PatchedSchemaMeta
from azure.ai.ml._utils.utils import camel_to_snake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import FeatureLags as FeatureLagsMode
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import FeatureLags as FeatureLagsMode
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ForecastHorizonMode,
SeasonalityMode,
ShortSeriesHandlingConfiguration,
TargetAggregationFunction,
TargetLagsMode,
TargetRollingWindowSizeMode,
)
from azure.ai.ml._restclient.v2022_10_01_preview.models import UseStl as STLMode
from azure.ai.ml._restclient.v2022_12_01_preview.models import UseStl as STLMode
from azure.ai.ml._schema.core.fields import StringTransformedEnum, UnionField
from azure.ai.ml._schema.core.schema import PatchedSchemaMeta

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ClassificationMultilabelPrimaryMetrics,
ClassificationPrimaryMetrics,
TaskType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from marshmallow import fields, post_dump, post_load, pre_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
LearningRateScheduler,
ModelSize,
StochasticOptimizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
LearningRateScheduler,
ModelSize,
StochasticOptimizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
Comment thread
wangchao1230 marked this conversation as resolved.
InstanceSegmentationPrimaryMetrics,
ObjectDetectionPrimaryMetrics,
TaskType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpLearningRateScheduler
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpLearningRateScheduler
Comment thread
wangchao1230 marked this conversation as resolved.
from azure.ai.ml._schema.core.fields import StringTransformedEnum
from azure.ai.ml._schema.core.schema import PatchedSchemaMeta
from azure.ai.ml._utils.utils import camel_to_snake, snake_to_kebab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from marshmallow import fields, post_dump, post_load, pre_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpLearningRateScheduler
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpLearningRateScheduler
from azure.ai.ml._schema._sweep.search_space import (
ChoiceSchema,
NormalSchema,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.nlp_vertical.nlp_vertical import NlpVerticalSchema
from azure.ai.ml._schema.core.fields import StringTransformedEnum, fields
from azure.ai.ml._utils.utils import camel_to_snake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationMultilabelPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationMultilabelPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.nlp_vertical.nlp_vertical import NlpVerticalSchema
from azure.ai.ml._schema.core.fields import StringTransformedEnum, fields
from azure.ai.ml._utils.utils import camel_to_snake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.nlp_vertical.nlp_vertical import NlpVerticalSchema
from azure.ai.ml._schema.core.fields import StringTransformedEnum, fields
from azure.ai.ml._utils.utils import camel_to_snake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.table_vertical.table_vertical import AutoMLTableVerticalSchema
from azure.ai.ml._schema.automl.training_settings import ClassificationTrainingSettingsSchema
from azure.ai.ml._schema.core.fields import NestedField, StringTransformedEnum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import ForecastingPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ForecastingPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.forecasting_settings import ForecastingSettingsSchema
from azure.ai.ml._schema.automl.table_vertical.table_vertical import AutoMLTableVerticalSchema
from azure.ai.ml._schema.automl.training_settings import ForecastingTrainingSettingsSchema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from marshmallow import post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import RegressionPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import RegressionPrimaryMetrics, TaskType
from azure.ai.ml._schema.automl.table_vertical.table_vertical import AutoMLTableVerticalSchema
from azure.ai.ml._schema.automl.training_settings import RegressionTrainingSettingsSchema
from azure.ai.ml._schema.core.fields import NestedField, StringTransformedEnum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# pylint: disable=unused-argument,no-self-use

from azure.ai.ml._restclient.v2022_10_01_preview.models import NCrossValidationsMode
from azure.ai.ml._restclient.v2022_12_01_preview.models import NCrossValidationsMode
from azure.ai.ml._schema.automl.automl_vertical import AutoMLVerticalSchema
from azure.ai.ml._schema.automl.featurization_settings import TableFeaturizationSettingsSchema
from azure.ai.ml._schema.automl.table_vertical.table_vertical_limit_settings import AutoMLTableLimitsSchema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from marshmallow import fields, post_load

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ClassificationModels,
ForecastingModels,
RegressionModels,
Expand Down
2 changes: 1 addition & 1 deletion sdk/ml/azure-ai-ml/azure/ai/ml/automl/_automl_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ClassificationMultilabelPrimaryMetrics,
ClassificationPrimaryMetrics,
InstanceSegmentationPrimaryMetrics,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from abc import ABC, abstractmethod
from typing import Any, Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import JobBase, MLTableJobInput, ResourceConfiguration, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import JobBase, MLTableJobInput, ResourceConfiguration, TaskType
from azure.ai.ml._utils.utils import camel_to_snake
from azure.ai.ml.constants import JobType
from azure.ai.ml.constants._common import TYPE, AssetTypes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from abc import ABC
from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import LogVerbosity, SamplingAlgorithmType
from azure.ai.ml._restclient.v2022_12_01_preview.models import LogVerbosity, SamplingAlgorithmType
from azure.ai.ml._utils.utils import camel_to_snake
from azure.ai.ml.entities._inputs_outputs import Input
from azure.ai.ml.entities._job.automl.automl_vertical import AutoMLVertical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Dict, List, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import LearningRateScheduler, StochasticOptimizer
from azure.ai.ml._restclient.v2022_12_01_preview.models import LearningRateScheduler, StochasticOptimizer
from azure.ai.ml._utils.utils import camel_to_snake
from azure.ai.ml.entities._job.automl.image.automl_image import AutoMLImage
from azure.ai.ml.entities._job.automl.image.image_classification_search_space import ImageClassificationSearchSpace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Dict, List, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
LearningRateScheduler,
ModelSize,
StochasticOptimizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationPrimaryMetrics
from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageClassification as RestImageClassification
from azure.ai.ml._restclient.v2022_10_01_preview.models import JobBase, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationPrimaryMetrics
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageClassification as RestImageClassification
from azure.ai.ml._restclient.v2022_12_01_preview.models import JobBase, TaskType
from azure.ai.ml._utils.utils import camel_to_snake, is_data_binding_expression
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._job.automl import AutoMLConstants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_10_01_preview.models import ClassificationMultilabelPrimaryMetrics
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_12_01_preview.models import ClassificationMultilabelPrimaryMetrics
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ImageClassificationMultilabel as RestImageClassificationMultilabel,
)
from azure.ai.ml._restclient.v2022_10_01_preview.models import JobBase, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import JobBase, TaskType
from azure.ai.ml._utils.utils import camel_to_snake, is_data_binding_expression
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._job.automl import AutoMLConstants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageModelDistributionSettingsClassification
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageModelDistributionSettingsClassification
from azure.ai.ml.entities._job.automl.search_space import SearchSpace
from azure.ai.ml.entities._job.automl.search_space_utils import _convert_from_rest_object, _convert_to_rest_object
from azure.ai.ml.entities._job.sweep.search_space import SweepDistribution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ImageInstanceSegmentation as RestImageInstanceSegmentation,
)
from azure.ai.ml._restclient.v2022_10_01_preview.models import InstanceSegmentationPrimaryMetrics, JobBase, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import InstanceSegmentationPrimaryMetrics, JobBase, TaskType
from azure.ai.ml._utils.utils import camel_to_snake, is_data_binding_expression
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._job.automl import AutoMLConstants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import Optional

from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageLimitSettings as RestImageLimitSettings
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageLimitSettings as RestImageLimitSettings
from azure.ai.ml._utils.utils import from_iso_duration_format_mins, to_iso_duration_format_mins
from azure.ai.ml.entities._mixins import RestTranslatableMixin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
from typing import Optional

# pylint: disable=R0902,too-many-locals
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ImageModelSettingsClassification as RestImageModelSettingsClassification,
)
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
ImageModelSettingsObjectDetection as RestImageModelSettingsObjectDetection,
)
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
LearningRateScheduler,
ModelSize,
StochasticOptimizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageObjectDetection as RestImageObjectDetection
from azure.ai.ml._restclient.v2022_10_01_preview.models import JobBase, ObjectDetectionPrimaryMetrics, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageObjectDetection as RestImageObjectDetection
from azure.ai.ml._restclient.v2022_12_01_preview.models import JobBase, ObjectDetectionPrimaryMetrics, TaskType
from azure.ai.ml._utils.utils import camel_to_snake, is_data_binding_expression
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._job.automl import AutoMLConstants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageModelDistributionSettingsObjectDetection
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageModelDistributionSettingsObjectDetection
from azure.ai.ml.entities import (
Choice,
LogNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import ImageSweepSettings as RestImageSweepSettings
from azure.ai.ml._restclient.v2022_10_01_preview.models import SamplingAlgorithmType
from azure.ai.ml._restclient.v2022_12_01_preview.models import ImageSweepSettings as RestImageSweepSettings
from azure.ai.ml._restclient.v2022_12_01_preview.models import SamplingAlgorithmType
from azure.ai.ml.entities._job.sweep.early_termination_policy import (
BanditPolicy,
EarlyTerminationPolicy,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from abc import ABC
from typing import Dict, List, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
LogVerbosity,
NlpLearningRateScheduler,
SamplingAlgorithmType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------

from azure.ai.ml._restclient.v2022_10_01_preview.models import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import (
NlpVerticalFeaturizationSettings as RestNlpVerticalFeaturizationSettings,
)
from azure.ai.ml.entities._job.automl.featurization_settings import FeaturizationSettings, FeaturizationSettingsType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ---------------------------------------------------------
from typing import Optional

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpFixedParameters as RestNlpFixedParameters
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpFixedParameters as RestNlpFixedParameters
from azure.ai.ml.entities._mixins import RestTranslatableMixin


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import Optional

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpVerticalLimitSettings as RestNlpLimitSettings
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpVerticalLimitSettings as RestNlpLimitSettings
from azure.ai.ml._utils.utils import from_iso_duration_format_mins, to_iso_duration_format_mins
from azure.ai.ml.entities._mixins import RestTranslatableMixin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpLearningRateScheduler, NlpParameterSubspace
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpLearningRateScheduler, NlpParameterSubspace
from azure.ai.ml._utils.utils import camel_to_snake
from azure.ai.ml.constants import NlpModels
from azure.ai.ml.entities._job.automl.search_space import SearchSpace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from typing import Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import NlpSweepSettings as RestNlpSweepSettings
from azure.ai.ml._restclient.v2022_10_01_preview.models import SamplingAlgorithmType
from azure.ai.ml._restclient.v2022_12_01_preview.models import NlpSweepSettings as RestNlpSweepSettings
from azure.ai.ml._restclient.v2022_12_01_preview.models import SamplingAlgorithmType
from azure.ai.ml.entities._job.sweep.early_termination_policy import EarlyTerminationPolicy
from azure.ai.ml.entities._mixins import RestTranslatableMixin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

from typing import Dict, Optional, Union

from azure.ai.ml._restclient.v2022_10_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_10_01_preview.models import JobBase, TaskType
from azure.ai.ml._restclient.v2022_10_01_preview.models import TextClassification as RestTextClassification
from azure.ai.ml._restclient.v2022_10_01_preview.models._azure_machine_learning_workspaces_enums import (
from azure.ai.ml._restclient.v2022_12_01_preview.models import AutoMLJob as RestAutoMLJob
from azure.ai.ml._restclient.v2022_12_01_preview.models import JobBase, TaskType
from azure.ai.ml._restclient.v2022_12_01_preview.models import TextClassification as RestTextClassification
from azure.ai.ml._restclient.v2022_12_01_preview.models._azure_machine_learning_workspaces_enums import (
ClassificationPrimaryMetrics,
)
from azure.ai.ml._utils.utils import camel_to_snake, is_data_binding_expression
Expand Down
Loading