Does the solution meet the goal?

Last Updated on October 21, 2021 by Admin

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:

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 089

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 089

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:

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 090

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 090

Solution: Run the following code:

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 091

DP-100 Designing and Implementing a Data Science Solution on Azure Part 05 Q20 091

Does the solution meet the goal?

  • yes
  • No
Explanation:
Define paths with two file paths instead.
Use Dataset.Tabular_from_delimeted as the data isn’t cleansed.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments