Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You plan to use a Python script to run an Azure Machine Learning experiment. The script creates a reference to the experiment run context, loads data from a file, identifies the set of unique values for the label column, and completes the experiment run:
The experiment must record the unique labels in the data as metrics for the run that can be reviewed later.
You must add code to the script to record the unique label values as run metrics at the point indicated by the comment.
Solution: Replace the comment with the following code:
for label_val in label_vals:
run.log('Label Values', label_val)
Does the solution meet the goal?
giusecozza
Highly Voted 2 years, 5 months agoranjsi01
Highly Voted 3 years agoKeiNek
Most Recent 2 days, 16 hours agotestgm
2 months, 2 weeks agoStemix
11 months agoKarthikat
11 months, 2 weeks agodeyoz
1 year agoNullVoider_0
1 year, 1 month agoHisayuki
1 year, 3 months agocolin1919
1 year, 3 months agofhlos
1 year, 7 months agofhlos
1 year, 7 months agoRamundiGR
2 years agomichaelmorar
2 years, 2 months agocasiopa
2 years, 2 months agomichaelmorar
2 years, 2 months agozb99
2 years, 8 months agochevyli
2 years, 5 months agoracnaoamo
2 years, 8 months agoJTWang
2 years, 10 months agoTj87
2 years, 9 months ago