We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6102f31 + d0b620d commit cfa8a97Copy full SHA for cfa8a97
articles/machine-learning/how-to-train-model.md
@@ -299,13 +299,13 @@ The following examples demonstrate how to register a model in your Azure Machine
299
300
```python
301
from azure.ai.ml.entities import Model
302
-from azure.ai.ml.constants import ModelType
+from azure.ai.ml.constants import AssetTypes
303
304
run_model = Model(
305
path="azureml://jobs/{}/outputs/artifacts/paths/model/".format(returned_job.name),
306
name="run-model-example",
307
description="Model created from run.",
308
- type=ModelType.MLFLOW
+ type=AssetTypes.MLFLOW_MODEL
309
)
310
311
ml_client.models.create_or_update(run_model)
0 commit comments