DP-100 Exam Question 76

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 create an Azure Machine Learning service datastore in a workspace. The datastore contains the following files:
* /data/2018/Q1.csv
* /data/2018/Q2.csv
* /data/2018/Q3.csv
* /data/2018/Q4.csv
* /data/2019/Q1.csv
All files store data in the following format:
id,f1,f2,I
1,1,2,0
2,1,1,1
3,2,1,0
4,2,2,1
You run the following code:

You need to create a dataset named training_data and load the data from all files into a single data frame by using the following code:

Solution: Run the following code:

Does the solution meet the goal?
  • DP-100 Exam Question 77

    You are using a decision tree algorithm. You have trained a model that generalizes well at a tree depth equal to 10.
    You need to select the bias and variance properties of the model with varying tree depth values.
    Which properties should you select for each tree depth? To answer, select the appropriate options in the answer area.

    DP-100 Exam Question 78

    You run an automated machine learning experiment in an Azure Machine Learning workspace. Information about the run is listed in the table below:

    You need to write a script that uses the Azure Machine Learning SDK to retrieve the best iteration of the experiment run.
    Which Python code segment should you use?
  • DP-100 Exam Question 79

    You are using the Azure Machine Learning Service to automate hyperparameter exploration of your neural network classification model.
    You must define the hyperparameter space to automatically tune hyperparameters using random sampling according to following requirements:
    The learning rate must be selected from a normal distribution with a mean value of 10 and a standard deviation of 3.
    Batch size must be 16, 32 and 64.
    Keep probability must be a value selected from a uniform distribution between the range of 0.05 and 0.1.
    You need to use the param_sampling method of the Python API for the Azure Machine Learning Service.
    How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    DP-100 Exam Question 80

    You need to use the Python language to build a sampling strategy for the global penalty detection models.
    How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.