Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-100 Exam - Topic 3 Question 28 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 28
Topic #: 3
[All DP-100 Questions]

You use the Azure Machine Learning service to create a tabular dataset named training.dat

a. You plan to use this dataset in a training script.

You create a variable that references the dataset using the following code:

training_ds = workspace.datasets.get("training_data")

You define an estimator to run the script.

You need to set the correct property of the estimator to ensure that your script can access the training.data dataset

Which property should you set?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: A

Example:

# Get the training dataset

diabetes_ds = ws.datasets.get('Diabetes Dataset')

# Create an estimator that uses the remote compute

hyper_estimator = SKLearn(source_directory=experiment_folder,

inputs=[diabetes_ds.as_named_input('diabetes')], # Pass the dataset as an input

compute_target = cpu_cluster,

conda_packages=['pandas','ipykernel','matplotlib'],

pip_packages=['azureml-sdk','argparse','pyarrow'],

entry_script='diabetes_training.py')


https://notebooks.azure.com/GraemeMalcolm/projects/azureml-primers/html/04%20-%20Optimizing%20Model%20Training.ipynb

Contribute your Thoughts:

0/2000 characters
Marjory
5 months ago
Just to clarify, is this for a specific version of Azure ML?
upvoted 0 times
...
Annamaria
5 months ago
I thought it was `environment` at first, but `inputs` makes sense.
upvoted 0 times
...
Trevor
5 months ago
Wait, are you sure it's not `outputs`?
upvoted 0 times
...
Georgeanna
5 months ago
Totally agree, `inputs` is the way to go!
upvoted 0 times
...
Jani
5 months ago
You need to set the `inputs` property of the estimator.
upvoted 0 times
...
Yasuko
5 months ago
I feel like the answer might be option C, but I keep mixing up the properties we can set for the estimator.
upvoted 0 times
...
Eden
5 months ago
I remember practicing a similar question where we had to specify dataset inputs, but I can't recall if it was the `inputs` or `data` property.
upvoted 0 times
...
Joaquin
5 months ago
I think we need to set the `inputs` property of the estimator to access the dataset, but I'm not entirely sure.
upvoted 0 times
...
Wava
5 months ago
I thought it was the `data` property we needed to set, but now I'm second-guessing myself after reviewing the options.
upvoted 0 times
...
Dan
6 months ago
I'm a bit confused here. The output doesn't seem to indicate an active transaction, so I'm not sure if the ROLLBACK will actually do anything. I might have to eliminate a few options and guess.
upvoted 0 times
...
Micheline
6 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through each query and think about the logic behind the weight comparisons.
upvoted 0 times
...

Save Cancel