You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = run.register_model(description= description,
80
-
tags={'area': 'qna'}) # AutoML Run Object
66
+
azureml_url = remote_run.get_portal_url()
67
+
print(azureml_url)
81
68
```
82
69
83
70
*SDK v2: Below is a sample AutoML classification task. For the entire code, check out our [examples repo](https://github.com/Azure/azureml-examples/blob/main/sdk/jobs/automl-standalone-jobs/automl-classification-task-bankmarketing/automl-classification-task-bankmarketing-mlflow.ipynb).
84
71
85
72
```python
86
73
# Imports
87
-
from azure.identity import DefaultAzureCredential
88
-
from azure.identity import AzureCliCredential
89
74
from azure.ai.ml import automl, Input, MLClient
90
75
91
76
from azure.ai.ml.constants import AssetTypes
@@ -95,19 +80,7 @@ This article gives a comparison of scenario(s) in SDK v1 and SDK v2.
95
80
ClassificationModels,
96
81
)
97
82
98
-
import mlflow
99
-
from mlflow.tracking.client import MlflowClient
100
-
101
-
from azure.ai.ml.entities import (
102
-
ManagedOnlineEndpoint,
103
-
ManagedOnlineDeployment,
104
-
Model,
105
-
Environment,
106
-
CodeConfiguration,
107
-
ProbeSettings,
108
-
)
109
-
from azure.ai.ml.constants import ModelType
110
-
83
+
111
84
# Create MLTables for training dataset
112
85
# Note that AutoML Job can also take in tabular data
113
86
my_training_data_input = Input(
@@ -143,32 +116,8 @@ This article gives a comparison of scenario(s) in SDK v1 and SDK v2.
0 commit comments