304 North Cardinal St.
Dorchester Center, MA 02124

# Machine Learning with R Quiz Answers – Cognitive Class

## Get Machine Learning with R Quiz Answers

This Machine Learning with R course dives into the basics of machine learning using an approachable, and well-known, programming language. You’ll learn about Supervised vs Unsupervised Learning, look into how Statistical Modeling relates to Machine Learning, and do a comparison of each.

Look at real-life examples of Machine learning and how it affects society in ways you may not have guessed!

Explore many algorithms and models:

• Popular algorithms: Classification, Regression, Clustering, and Dimensional Reduction.
• Popular models: Train/Test Split, Root Mean Squared Error, and Random Forests.

Get ready to do more learning than your machine!

Enroll on Cognitive Class

Module 1 – Machine Learning vs Statistical Modeling

Question: Machine Learning was developed shortly (within the same century) as statistical modelling, therefore adopting many of its practices.

• True
• False

Question: Supervised learning deals with unlabeled data, while unsupervised learning deals with labelled data.

• True
• False

Question: Machine Learning is applied in current technologies, such as:

• Trend Prediction (ex. House Price Trends)
• Gesture Recognition (ex. Xbox Connect)
• Facial Recognition (ex. Snapchat)
• A and B, but not C
• All of the above

Module 2 – Supervised Learning I

Question: In K-Nearest Neighbors, which of the following is true:

• A very high value of K (ex. K = 100) produces a model that is better than a very low value of K (ex. K = 1)
• A very high value of K (ex. K = 100) produces an overly generalised model, while a very low value of k (ex. k = 1) produces a highly complex model.
• A very low value of K (ex. K = 1) produces an overly generalised model, while a very high value of k (ex. k = 100) produces a highly complex model.
• All of the Above

Question: A difficulty that arises from trying to classify out-of-sample data is that the actual classification may not be known, therefore making it hard to produce an accurate result.

• True
• False

Question: When building a decision tree, we want to split the nodes in a way that decreases entropy and increases information gain.

• True
• False

Module 3 – Supervised Learning II

Question: Which of the following is generally true about the evaluation models: Train and Test on the Same Dataset and Train/Test Split.

• Train and Test on the Same Dataset has a high training accuracy and high out-of-sample accuracy, while Train/Test Split has a low training accuracy and low out-of-sample accuracy.
• Train and Test on the Same Dataset has a low training accuracy and high out-of-sample accuracy, while Train/Test Split has a high training accuracy and low out-of-sample accuracy.
• Train and Test on the Same Dataset has a high training accuracy and low out-of-sample accuracy, while Train/Test Split has a low training accuracy and high out-of-sample accuracy.
• Train and Test on the Same Dataset has a low training accuracy and low out-of-sample accuracy, while Train/Test Split has a high training accuracy and high out-of-sample accuracy.

Question: Which of the following is true about bias and variance?

• Having a high bias underfits the data and produces a model that is overly complex, while having high variance overfits the data and produces a model that is overly generalized.
• Having a high bias underfits the data and produces a model that is overly generalized, while having high variance overfits the data and produces a model that is overly complex.
• Having a high bias overfits the data and produces a model that is overly complex, while having high variance underfits the data and produces a model that is overly generalized.
• Having a high bias overfits the data and produces a model that is overly generalized, while having high variance underfits the data and produces a model that is overly complex.

Question: Root Mean Squared Error is the most popular evaluation metric out of the three discussed, because it produces the same units as the response vector, making it easy to relate information.

• True
• False

Module 4 – Unsupervised Learning

Question: What are some disadvantages that K-means clustering presents?

• Updating can occur even though there is a possibility of a centroid not having data points in its group
• K-means clustering is generally slower, compared to many other clustering algorithms
• There is high bias in the models, due to where the centroids are initiated
• None of the above

Question: Decision Trees tend to have high bias and low variance, which Random Forests fix.

• True
• False

Question: A Dendrogram can only be read for Agglomerative Hierarchical Clustering, not Divisive Hierarchical Clustering.

• True
• False

Module 5 – Dimensionality Reduction & Collaborative Filtering

Question: Filters produce a feature set that does not contain assumptions based on the predictive model, making it a useful tool to expose relationships between features.

• True
• False

Question: Principle Components Analysis retains all information during the projection process of higher order features to lower orders.

• True
• False

Question: Which of the following is not a challenge to a recommendation system that uses collaborative filtering?

• Diversity Sheep
• Shilling Attacks
• Scalability
• Synonyms

Final Exam

Question: Randomness is important in Random Forests because it allows us to have distinct, different trees that are based off of different data.

• True
• False

Question: When building a decision tree, we want to split the nodes in a way that increases entropy and decreases information gain.

• True
• False

Question: Which of the following is true?

• A high value of K in KNN creates a model with low bias and high variance
• An observation must contain values for all features
• A categorical value cannot be numeric
• None of the above

Question: In terms of Bias and Variance, Variance is the inconsistency of a model due to small changes in the dataset.

• True
• False

Question: Which is the definition of entropy?

• The purity of each node in a random forest.
• Information collected that can increase the level of certainty in a particular prediction.
• The information that is used to randomly select a subset of data.
• The amount of information disorder in the data.

Question: Which of the following is true about hierarchical linkages?

• Average linkage is the average distance of each point in one cluster to every point in another cluster
• Complete linkage is the shortest distance between a point in two clusters
• Centroid linkage is the distance between two randomly generated centroids in two clusters
• Single linkage is the distance between any points in two clusters

Question: In terms of Bias and Variance, Variance is the inconsistency of a model due to small changes in the dataset.

• True
• False

Question: Which is true about bootstrapping?

• All data points must be used when bootstrapping is applied
• The data points are randomly selected with replacement
• The data points are randomly selected without replacement
• It is the same as bagging

Question: Machine Learning is still in early development and does not have much of an impact on the current society.

• True
• False

Question: In comparison to supervised learning, unsupervised learning has:

• Less tests
• More models
• A better controlled environment
• More tests, but less models

Question: Outliers are points that are classified by Density-Based Clustering that do not belong to any cluster.

• True
• False

Question: Which of the following is false about Linear Regression?

• It does not require tuning parameters
• It is highly interpretable
• It is fast
• It has a low variability on predictive accuracy

Question: Machine Learning uses algorithms that can learn from data without relying on standard programming practices.

• True
• False

Question: Which of the following are types of supervised learning?

• Clustering
• Regression
• Classification
• Both A and B

Question: A Bottom Up version of hierarchical clustering is known as Divisive clustering. It is a more popular method than the agglomerative method.

• True
• False

Question: Which is NOT a specific outcome of how Dimensionality Performance improves production?

• Highlights the main linear technique called Principle Components Analysis.
• Creates step-wise regression.
• Reduces number of features to be considered.
• Highlights relevant variables only and omits irrelevant ones.

Question: Feature Selection is the process of selecting the variables that will be projected from a high-order dimension to a lower one.

• True
• False

Question: Hierarchical Clustering is one of the three main algorithms for clustering along with K-Means and Density Based Clustering.

• True
• False

Question: Which one is NOT a feature of Dimensionality Reduction?

• It can be divided into two subcategories called Feature Selection and Feature Extraction
• Removal of an “outsider” from the least cohesive cluster.
• Feature Selection includes Wrappers, Filters, and Embedded.
• Feature Extraction includes Principle Components Analysis.
• It reduces the number of variables/features in review.

Question: Low bias tends to create overly generalized models, which can cause a loss of relevant relations between the features and target output. When a model has low bias, we say that it “under fits” the data.

• True
• False

### Conclusion:

We hope you know the correct answers to Machine Learning with R If Queslers helped you to find out the correct answers then make sure to bookmark our site for more Course Quiz Answers.

If the options are not the same then make sure to let us know by leaving it in the comments below.

##### Course Review:

In our experience, we suggest you enroll in this and gain some new skills from Professionals completely free and we assure you will be worth it.

This course is available on Cognitive Class for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Queslers to get all Quiz Answers and Coding Solutions.

More Courses Quiz Answers >>

Building Cloud Native and Multicloud Applications Quiz Answers

Accelerating Deep Learning with GPUs Quiz Answers

Blockchain Essentials Cognitive Class Quiz Answers

Deep Learning Fundamentals Cognitive Class Quiz Answers