Week 1 Quiz Answers
Practice Quiz
1.
Supervised learning deals with unlabeled data, while unsupervised learning deals with labelled data.
2.
The "Regression" technique in Machine Learning is a group of algorithms that are used for:
3.
When comparing Supervised with Unsupervised learning, is this sentence True or False?
In contrast to Supervised learning, Unsupervised learning has more models and more evaluation methods that can be used in order to ensure the outcome of the model is accurate.
Graded Quiz
1.
In a dataset, what do the columns represent?
2.
What is a major benefit of unsupervised learning over supervised learning?
3.
What’s the correct order for using a model?
4.
Which of the following is suitable for an unsupervised learning?
5.
The main purpose of the NumPy library is to:
Week 2 Quiz Answers
Practice Quiz
1.
Which of the following is the meaning of "Out of Sample Accuracy" in the context of evaluation of models?
2.
When should we use Multiple Linear Regression? (Select two)
3.
Which sentence is TRUE about linear regression?
Graded Quiz
1.
What are the requirements for independent and dependent variables in regression?
2.
The key difference between simple and multiple regression is:
3.
Recall that we tried to predict CO2 emission with car information. Say that now we can describe the relationship as: CO2_emission = 130 - 2.4*cylinders + 8.3*fuel_consumption
What is TRUE of this relationship?
4.
What could be the cause of a model yielding high training accuracy and low out-of-sample accuracy?
5.
Multiple Linear Regression is appropriate for:
Week 3 Quiz Answers
Practice Quiz
1.
Which one is TRUE about the kNN algorithm?
2.
If the information gain of the tree by using attribute A is 0.3, what can we infer?
3.
When we have a value of K for KNN that’s too small, what will the model most likely look like?
Graded Quiz
1.
What can we infer about our kNN model when the value of K is too big?
2.
When splitting data into branches for a decision tree, what kind of feature is favored and chosen first?
3.
What is the relationship between entropy and information gain?
4.
Predicting whether a customer responds to a particular advertising campaign or not is an example of what?
5.
For a new observation, how do we predict its response value (categorical) using a KNN model with k=5?
Week 4 Quiz Answers
Practice Quiz
Graded Quiz
1.
Which option lists the steps of training a logistic regression model in the correct order?
Use the cost function on the training set.
Update weights with new parameter values.
Calculate cost function gradient.
Initialize the parameters.
Repeat until specified cost or iterations reached.
2.
What is the objective of SVM in terms of hyperplanes?
3.
Logistic regression is used to predict the probability of a:
4.
In which cases would we want to consider using SVM?
5.
What is a disadvantage of one-vs-all classification?
Week 5 Quiz Answers
Practice Quiz
1.
Which of the following is an application of clustering?
2.
Which approach can be used to calculate dissimilarity of objects in clustering?
3.
How is a center point (centroid) picked for each cluster in k-means upon initialization? (select two)
Graded Quiz
1.
The objective of k-means clustering is:
4.
When the parameter K for k-means clustering increases, what happens to the error?
Week 6 Quiz Answers
Practice Quiz
1.
Which of the following is not true about Machine Learning?
Correct! Machine learning can learn without explicitly being programmed to do so.
3.
In which of the following would you use Multiple Linear Regression?
Correct! We use multiple linear regression when there is more than one independent variable for predicting a continuous variable.
1.
Which of the following is not true about Machine Learning?
1 / 1 pointCorrectCorrect! Machine learning can learn without explicitly being programmed to do so.
Which of the following is not true about Machine Learning?
Correct! Machine learning can learn without explicitly being programmed to do so.
2.
Which of the following is not a Machine Learning technique?
1 / 1 pointCorrectCorrect! The common machine learning techniques are regression/estimation, classification, clustering, association, anomaly detection, sequence mining, and recommendation systems.
Which of the following is not a Machine Learning technique?
Correct! The common machine learning techniques are regression/estimation, classification, clustering, association, anomaly detection, sequence mining, and recommendation systems.
3.
Which of the following is true for Multiple Linear Regression?
1 / 1 pointCorrectCorrect! This contrasts simple linear regression, which only uses one independent variable.
Which of the following is true for Multiple Linear Regression?
Correct! This contrasts simple linear regression, which only uses one independent variable.
4.
Which of the below is an example of classification problem?
1 / 1 pointCorrectCorrect! All of these can be phrased as a classification task.
Which of the below is an example of classification problem?
Correct! All of these can be phrased as a classification task.
5.
Which of the following statements are TRUEabout Logistic Regression? (select two)
0 / 1 pointThis should not be selectedIncorrect. Logistic regression applies the sigmoid function that always returns a value between 0 and 1.
CorrectAlmost correct! There are other true statements about Logistic Regression.
Which of the following statements are TRUEabout Logistic Regression? (select two)
Incorrect. Logistic regression applies the sigmoid function that always returns a value between 0 and 1.
Almost correct! There are other true statements about Logistic Regression.
6.
Which of the following statements is true for k-means clustering?
1 / 1 pointCorrectCorrect! All statements are true about k-Means clustering.
Which of the following statements is true for k-means clustering?
Correct! All statements are true about k-Means clustering.
8.
What are some advantages of logistic regression over SVM?
1 / 1 pointCorrectCorrect! SVM is unable to provide probability estimates of each class.
What are some advantages of logistic regression over SVM?
Correct! SVM is unable to provide probability estimates of each class.
9.
Suppose you’d like to determine how a model performs on predicting the minimum and maximum temperature for a given day. Which metric is the most appropriate to use?
1 / 1 pointCorrectCorrect! Root mean squared error is in the same units as the response vector, so it’s easier to relate information for the regression problem.
Suppose you’d like to determine how a model performs on predicting the minimum and maximum temperature for a given day. Which metric is the most appropriate to use?
Correct! Root mean squared error is in the same units as the response vector, so it’s easier to relate information for the regression problem.
1.
What is the subfield of computer science that gives "computers the ability to learn without being explicitly programmed"?
1 / 1 pointCorrectCorrect!
What is the subfield of computer science that gives "computers the ability to learn without being explicitly programmed"?
Correct!
2.
Which of the following groups are not Machine Learning techniques?
1 / 1 pointCorrectCorrect! These are Python packages that we use to write machine learning algorithms rather than techniques.
Which of the following groups are not Machine Learning techniques?
Correct! These are Python packages that we use to write machine learning algorithms rather than techniques.
3.
When would you use Multiple Linear Regression?
1 / 1 pointCorrectCorrect! We want to predict the impacts of changes in weather and temperature on a continuous target variable.
When would you use Multiple Linear Regression?
Correct! We want to predict the impacts of changes in weather and temperature on a continuous target variable.
4.
Which of the below is an example of a classification problem?
1 / 1 pointCorrectCorrect! All of the above can be phrased as a classification problem.
Which of the below is an example of a classification problem?
Correct! All of the above can be phrased as a classification problem.
5.
Which of the following is an example of Logistic Regression?
1 / 1 pointCorrectCorrect! All of these are examples of logistic regression as they try to predict the probability of a binary response.
Which of the following is an example of Logistic Regression?
Correct! All of these are examples of logistic regression as they try to predict the probability of a binary response.
9.
Suppose you’d like to determine how a model performs on predicting the minimum and maximum temperature for a given day. Which metric is the most appropriate to use?
1 / 1 pointCorrectCorrect! Root mean squared error is in the same units as the response vector, so it’s easier to relate information for the regression problem.
Suppose you’d like to determine how a model performs on predicting the minimum and maximum temperature for a given day. Which metric is the most appropriate to use?
Correct! Root mean squared error is in the same units as the response vector, so it’s easier to relate information for the regression problem.
1.
Which of the following is an example of Machine Learning?
1 / 1 pointCorrectCorrect! All of these are valid examples of tasks that can be accomplished with machine learning.
Which of the following is an example of Machine Learning?
Correct! All of these are valid examples of tasks that can be accomplished with machine learning.
2.
Which of the following is a Machine Learning technique?
1 / 1 pointCorrectCorrect! All of the above are considered machine learning techniques along with association, anomaly detection, sequence mining, and recommendation systems.
Which of the following is a Machine Learning technique?
Correct! All of the above are considered machine learning techniques along with association, anomaly detection, sequence mining, and recommendation systems.
3.
In which of the following would you use Multiple Linear Regression?
1 / 1 pointCorrectCorrect! We use multiple linear regression when there is more than one independent variable for predicting a continuous variable.
In which of the following would you use Multiple Linear Regression?
Correct! We use multiple linear regression when there is more than one independent variable for predicting a continuous variable.
4.
Which one is not an example of a classification problem?
1 / 1 pointCorrectCorrect! The amount of money spent is not a categorical target variable.
Which one is not an example of a classification problem?
Correct! The amount of money spent is not a categorical target variable.
5.
Which of the following is an example of Logistic Regression?
1 / 1 pointCorrectCorrect! All of these are examples of logistic regression as they try to predict the probability of a binary response.
Which of the following is an example of Logistic Regression?
Correct! All of these are examples of logistic regression as they try to predict the probability of a binary response.
6.
What type of clustering divides the data into non-overlapping subsets without any cluster-internal structure?
1 / 1 pointCorrectCorrect! Other algorithms divide data into clusters of varying shapes.
What type of clustering divides the data into non-overlapping subsets without any cluster-internal structure?
Correct! Other algorithms divide data into clusters of varying shapes.
8.
What are some advantages of logistic regression over SVM?
1 / 1 pointCorrectCorrect! SVM is unable to provide probability estimates of each class.
What are some advantages of logistic regression over SVM?
Correct! SVM is unable to provide probability estimates of each class.
10.
When do we use regression trees instead of decision trees?
1 / 1 pointCorrectCorrect! Regression trees split the data based on features like in decision trees, but the prediction is an average across the data points in that node.
When do we use regression trees instead of decision trees?
Correct! Regression trees split the data based on features like in decision trees, but the prediction is an average across the data points in that node.
0 Comments