ds in cloud quizzes

pull/117/head
Jasmine 3 years ago
parent e5dcf75fc8
commit 59d8852f8a

@ -28,7 +28,7 @@ Table of contents:
- [Review & Self Study](#review--self-study)
- [Assignment](#assignment)
## [Pre-Lecture quiz]()
## [Pre-Lecture quiz](https://red-water-0103e7a0f.azurestaticapps.net/quiz/34)
## 1. Introduction
### 1.1 What is Azure Machine Learning?
@ -326,27 +326,11 @@ Congratulations! You just consumed the model deployed and trained it on Azure ML
Look closely at the model explanations and details that AutoML generated for the top models. Try to understand why the best model is better than the other ones. What algorithms were compared? What are the differences between them? Why is the best one performing better in this case?
## Post-Lecture Quiz
[Post-lecture quiz]()
1. What do I need to create before accessing Azure ML Studio?
1. TRUE: A workspace
2. A compute instance
3. A compute cluster
2. Which of the following tasks are supported by Automated ML?
1. Image generation
2. TRUE : Classification
3. Natural Language generation
3. In which case do you need GPU over CPU?
1. When you have tabular data
2. When you have enough money to afford it
3. TRUE: When you do Deep Learning
## [Post-Lecture Quiz](https://red-water-0103e7a0f.azurestaticapps.net/quiz/35)
## Review & Self Study
In this lesson, you learned how to train, deploy and consume a model to predict heart failure risk in a Low code/No code fashion in the cloud. If you have not done it yet, dive deeper into the model explainations that AutoML generated for the top models and try to understand why the best model is better than others.
In this lesson, you learned how to train, deploy and consume a model to predict heart failure risk in a Low code/No code fashion in the cloud. If you have not done it yet, dive deeper into the model explanations that AutoML generated for the top models and try to understand why the best model is better than others.
You can go further into Low code/No code AutoML by reading this [documentation](https://docs.microsoft.com/azure/machine-learning/tutorial-first-experiment-automated-ml?WT.mc_id=academic-40229-cxa&ocid=AID3041109).

@ -27,22 +27,8 @@ Table of contents:
- [Post-Lecture Quiz](#post-lecture-quiz)
- [Review & Self Study](#review--self-study)
- [Assignment](#assignment)
## Pre-Lecture Quiz
[Pre-lecture quiz]()
1. On what increasing the cluster size would NOT have an impact?
1. Responsiveness
2. Cost
3. TRUE: Model performance
2. What is a benefit of using low code tools?
1. TRUE: No expertise of code required
2. Automatically label the dataset
3. Better security of the model
3. What is AutoML?
1. A tool for automating the preprocessing of data
2. A tool for automating the deployment of models
3. TRUE: A tool for automating the development of models
## [Pre-Lecture Quiz](https://red-water-0103e7a0f.azurestaticapps.net/quiz/36)
## 1. Introduction
@ -60,24 +46,24 @@ Key areas of the SDK include:
[Learn more about the Azure Machine Learning SDK](https://docs.microsoft.com/en-us/python/api/overview/azure/ml?WT.mc_id=academic-40229-cxa&ocid=AID3041109)
In the [previous lesson](../18-tbd/README.md), we saw how to train, deploy and consume a model in a Low code/No code fashion. We used the Heart Failure dataset to generate and Heart failure prediction model. In this lesson, we are going to do the exact same thing but using the Azure Machine Learning SDK.
In the [previous lesson](../18-Low-Code/README.md), we saw how to train, deploy and consume a model in a Low code/No code fashion. We used the Heart Failure dataset to generate and Heart failure prediction model. In this lesson, we are going to do the exact same thing but using the Azure Machine Learning SDK.
![project-schema](img/project-schema.PNG)
### 1.2 Heart failure prediction project and dataset introduction
Check [here](../18-tbd/README.md) the Heart failure prediction project and dataset introduction.
Check [here](../18-Low-Code/README.md) the Heart failure prediction project and dataset introduction.
## 2. Training a model with the Azure ML SDK
### 2.1 Create an Azure ML workspace
For simplicity, we are going to work on a jupyter notebook. This implies that you already have a Workspace and a compute instance. If you already have a Workspace, you can directly jump to the section 2.3 Notebook creation.
If not, please follow the instructions in the section **2.1 Create an Azure ML workspace** in the [previous lesson](../18-tbd/README.md) to create a workspace.
If not, please follow the instructions in the section **2.1 Create an Azure ML workspace** in the [previous lesson](../18-Low-Code/README.md) to create a workspace.
### 2.2 Create a compute instance
In the [Azure ML workspace](https://ml.azure.com/) that we created earlier, go to the compute menue and you will see the different compute resources available
In the [Azure ML workspace](https://ml.azure.com/) that we created earlier, go to the compute menu and you will see the different compute resources available
![compute-instance-1](img/compute-instance-1.PNG)

@ -123,7 +123,7 @@
"title": "Data Science in the Cloud - Low-Code - Pre-Quiz",
"quiz": [
{
"questionText": "quiz 2 question 2",
"questionText": "One benefit of using Jupyter Notebooks is that you can quickly prototype models.",
"answerOptions": [
{
"answerText": "True",
@ -136,36 +136,32 @@
]
},
{
"questionText": "q2",
"questionText": "Why would a data scientist use Azure Machine Learning?",
"answerOptions": [
{
"answerText": "classical ML was invented first",
"answerText": "To save time exploring and pre-processing data.",
"isCorrect": "false"
},
{
"answerText": "the use of neural networks",
"isCorrect": "true"
"answerText": "To produce accurate models",
"isCorrect": "false"
},
{
"answerText": "deep learning is used in robots",
"isCorrect": "false"
"answerText": "All of the above",
"isCorrect": "true"
}
]
},
{
"questionText": "q3",
"questionText": "You don't need to have expertise in coding do use Azure ML.",
"answerOptions": [
{
"answerText": "to automate the solving of multi-dimensional problems",
"isCorrect": "false"
"answerText": "True",
"isCorrect": "true"
},
{
"answerText": "to customize a shopping experience based on the type of customer",
"answerText": "False, code is always needed",
"isCorrect": "false"
},
{
"answerText": "both of the above",
"isCorrect": "true"
}
]
}
@ -176,48 +172,52 @@
"title": "Data Science in the Cloud - Low-Code - Post-Quiz",
"quiz": [
{
"questionText": "quiz 2 question 2",
"questionText": "What do you need to create before accessing Azure ML Studio?",
"answerOptions": [
{
"answerText": "True",
"answerText": "A workspace",
"isCorrect": "true"
},
{
"answerText": "False",
"answerText": "A compute instance",
"isCorrect": "false"
},
{
"answerText": "A compute cluster",
"isCorrect": "false"
}
]
},
{
"questionText": "q2",
"questionText": "Which of the following tasks are supported by Automated ML?",
"answerOptions": [
{
"answerText": "classical ML was invented first",
"answerText": "Image generation",
"isCorrect": "false"
},
{
"answerText": "the use of neural networks",
"answerText": "Classification",
"isCorrect": "true"
},
{
"answerText": "deep learning is used in robots",
"answerText": "Natural language generation",
"isCorrect": "false"
}
]
},
{
"questionText": "q3",
"questionText": "In which case do you need GPU over CPU?",
"answerOptions": [
{
"answerText": "to automate the solving of multi-dimensional problems",
"answerText": "When you have tabular data",
"isCorrect": "false"
},
{
"answerText": "to customize a shopping experience based on the type of customer",
"answerText": "When you have enough money to afford it",
"isCorrect": "false"
},
{
"answerText": "both of the above",
"answerText": "When you do Deep Learning",
"isCorrect": "true"
}
]
@ -229,49 +229,53 @@
"title": "Data Science in the Cloud - Azure - Pre-Quiz",
"quiz": [
{
"questionText": "quiz 2 question 2",
"questionText": "Which of these would be affected by increasing the cluster size?",
"answerOptions": [
{
"answerText": "True",
"isCorrect": "true"
"answerText": "Responsiveness",
"isCorrect": "false"
},
{
"answerText": "False",
"answerText": "Cost",
"isCorrect": "false"
},
{
"answerText": "Model performance",
"isCorrect": "true"
}
]
},
{
"questionText": "q2",
"questionText": "What is a benefit of using low code tools?",
"answerOptions": [
{
"answerText": "classical ML was invented first",
"isCorrect": "false"
"answerText": "No expertise of code required",
"isCorrect": "true"
},
{
"answerText": "the use of neural networks",
"isCorrect": "true"
"answerText": "Automatically label the dataset",
"isCorrect": "false"
},
{
"answerText": "deep learning is used in robots",
"answerText": "Better security of the model",
"isCorrect": "false"
}
]
},
{
"questionText": "q3",
"questionText": "What is AutoML?",
"answerOptions": [
{
"answerText": "to automate the solving of multi-dimensional problems",
"answerText": "A tool for automating the preprocessing of data",
"isCorrect": "false"
},
{
"answerText": "to customize a shopping experience based on the type of customer",
"isCorrect": "false"
"answerText": "A tool for automating the deployment of models",
"isCorrect": "true"
},
{
"answerText": "both of the above",
"isCorrect": "true"
"answerText": "All of the above",
"isCorrect": "false"
}
]
}
@ -279,51 +283,55 @@
},
{
"id": 37,
"title": "Data Science in the Cloud - Azure - Pre-Quiz",
"title": "Data Science in the Cloud - Azure - Post-Quiz",
"quiz": [
{
"questionText": "quiz 2 question 2",
"questionText": "What is the reason for creating an AutoMLConfig?",
"answerOptions": [
{
"answerText": "True",
"isCorrect": "true"
"answerText": "It is where the training and the testing data are split",
"isCorrect": "false"
},
{
"answerText": "False",
"answerText": "It is where you specify the model to be trained",
"isCorrect": "false"
},
{
"answerText": "It provides all the details of your AutoML experiment",
"isCorrect": "true"
}
]
},
{
"questionText": "q2",
"questionText": "Which of the following metrics is supported by Automated ML for a classification task?",
"answerOptions": [
{
"answerText": "classical ML was invented first",
"isCorrect": "false"
"answerText": "Accuracy",
"isCorrect": "true"
},
{
"answerText": "the use of neural networks",
"isCorrect": "true"
"answerText": "r2_score",
"isCorrect": "false"
},
{
"answerText": "deep learning is used in robots",
"answerText": "normalized_root_mean_error",
"isCorrect": "false"
}
]
},
{
"questionText": "q3",
"questionText": "What is NOT an advantage of using the SDK?",
"answerOptions": [
{
"answerText": "to automate the solving of multi-dimensional problems",
"answerText": "It can be used to automate multiple tasks and runs",
"isCorrect": "false"
},
{
"answerText": "to customize a shopping experience based on the type of customer",
"answerText": "It makes it easier to programmatically edit runs",
"isCorrect": "false"
},
{
"answerText": "both of the above",
"answerText": "It can be used through a Graphical User Interface",
"isCorrect": "true"
}
]

Loading…
Cancel
Save