Skip to content

Commit 24df0b4

Browse files
authored
Merge pull request #99166 from gauravrajguru/patch-1
Change string input to enum for primary_metric
2 parents 010e462 + 7ee3f9f commit 24df0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/how-to-auto-train-image-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ image_object_detection_job = automl.image_object_detection(
547547
training_data=my_training_data_input,
548548
validation_data=my_validation_data_input,
549549
target_column_name="label",
550-
primary_metric="mean_average_precision",
550+
primary_metric=ObjectDetectionPrimaryMetrics.MEAN_AVERAGE_PRECISION,
551551
tags={"my_custom_tag": "My custom value"},
552552
)
553553

0 commit comments

Comments
 (0)