nerdexam
MicrosoftMicrosoft

DP-100 · Question #421

DP-100 Question #421: Real Exam Question with Answer & Explanation

Sign in or unlock DP-100 to reveal the answer and full explanation for question #421. The question stem and answer options stay visible for context.

Explore data and run experiments

Question

You are using a ScriptRunConfig object to configure an experiment that uses a script to train a machine learning model. The script must apply a regularization rate hyperparameter to the algorithm that is used to train the model. You need to pass the regularization rate in a variable named reg_rate to the script. Which code segment should you use? A. B. C. D.

Options

  • Ascript_config = ScriptRunConfig(source_directory='experiment_files', script='training.py', telemetry_values = ['--reg_rate', reg_rate], environment=env)
  • Bscript_config = ScriptRunConfig(source_directory='experiment_files', script='training.py', arguments=['--reg_rate', reg_rate], environment=env)
  • Cscript_config = ScriptRunConfig(source_directory='experiment_files', script='training.py', --reg_rate = reg_rate, environment=env)
  • Dscript_config = ScriptRunConfig(source_directory='experiment_files', script='training.py', --reg_rate reg_rate, environment=env)

Unlock DP-100 to see the answer

You've previewed enough free DP-100 questions. Unlock DP-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#ScriptRunConfig#Experiment configuration#Hyperparameter#Azure Machine Learning
Full DP-100 PracticeBrowse All DP-100 Questions