Which code segment should you use?

Posted by: Pdfprep Category: DP-100 Tags: , ,

You define a datastore named ml-data for an Azure Storage blob container. In the container, you have a folder named train that contains a file named data.csv. You plan to use the file to train a model by using the Azure Machine Learning SDK.

You plan to train the model by using the Azure Machine Learning SDK to run an experiment on local compute.

You define a DataReference object by running the following code:

You need to load the training data.

Which code segment should you use?

A)

B)

C)

D)

E)
A . Option A
B . Option B
C . Option C
D . Option D
E . Option E

Answer: E

Explanation:

Example:

data_folder = args.data_folder

# Load Train and Test data

train_data = pd.read_csv(os.path.join(data_folder, ‘data.csv’))

Reference: https://www.element61.be/en/resource/azure-machine-learning-services-complete-toolbox-ai

Leave a Reply

Your email address will not be published.